Hi,
I am seeing something strange and I don't see how or why it could happen. If someone can help 'enlighten' me, it would be very appreciated.
I have an abstract class, Product, that contains a static public void method, createPrototypes(). I am calling Product.createPrototypes() during my application bootup but the code in the method is not reached or processed. The application just hangs up when ran without any errors. Do to this app being ran on an old device I am using jdk1.1.8.
***
Scenario 1: If I run the code below, I get the console output:
>Before method call.
I do not get any errors or any other output to the console; the app just hangs up there.
***
Scenario 2: If I run the code and uncomment the section that I have commented below, it runs fine.....why???
>Before method call.
>In Product.createPrototypes()
>After method call.
***
Thanks in advance!
I am seeing something strange and I don't see how or why it could happen. If someone can help 'enlighten' me, it would be very appreciated.
I have an abstract class, Product, that contains a static public void method, createPrototypes(). I am calling Product.createPrototypes() during my application bootup but the code in the method is not reached or processed. The application just hangs up when ran without any errors. Do to this app being ran on an old device I am using jdk1.1.8.
***
Scenario 1: If I run the code below, I get the console output:
>Before method call.
I do not get any errors or any other output to the console; the app just hangs up there.
***
Scenario 2: If I run the code and uncomment the section that I have commented below, it runs fine.....why???
>Before method call.
>In Product.createPrototypes()
>After method call.
***
Thanks in advance!