From: Jost B. <jos...@ya...> - 2005-09-24 13:33:33
|
Hi Edward, > This class and all variables/properties belonging to > that class will never get destroyed? the class is garbage collected when your VM has a class GC and this GC is called. In the standard configuration (64MB heap) the tests.php4/binaryData.php test triggers such a GC. This caching behaviour is intentional. Everything else (instance variables etc.) is destroyed after script execution. > This is because I have a class and when I run > JavaBridge.jar and execute the class for the first > time it always works. But subsequent calls to that > class will fail It is certainly possible to write a counter using a static variable so that a method call fails after some time. But I don't think this is a good programming practice. :) Can you please be more specific? If possible please set the java.log_level=4, create a bug report and attach the log up to the point where the problem occurs. (please see http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |