Status: New
Owner: ----
Labels: Type-Defect Priority-Low
New issue 461 by
fouache2...@gmail.com: ClassLoader in osgi environment
http://code.google.com/p/morphia/issues/detail?id=461
Hi all, i'm using morphia driver in an osgi environment and i have make a
little fix in DefaultCreator to use c = Class.forName( className) instead
of c = Class.forName( className , true ,
Thread.currentThread().getContextClassLoader() ).
When i use spring in virgo, the currentThread is the gemini (spring) thread
used to instanciate objects. If i use simple Class.forName method the
thread used to instanciate the object is the Bundle thread.
I think that can help a lot of people.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings