|
From: <php...@li...> - 2007-06-14 12:11:40
|
Hi Jonathan, > We did some research on the JAXBContext class, and > found that when most > people had trouble and saw ClassCastExceptions imho the problem you've reported is due to a bug in your software. You must allocate the class via some factory. > class loader. To avoid class loader issues as much > as possible, we It is certainly possible to load classes so that class@classLoader1 is assignment-incompatible to class@classLoader2. But I don't see this as a problem of the PHP/Java Bridge. -- When the request is done all versions of the PHP/JavaBridge allocate a new DynamicJavaBridgeClassLoader to avoid such problems (one class coming from the VM cache, the other one from the loader). However, the code example you have given cannot work. Can you please open a problem report, and attach code which allows us to reproduce the problem? And/or please set the log level to 4 and attach the log at the end of the ticket. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |