EclipseClassLoader, Bundle start and Threading [message #64028] |
Fri, 24 March 2006 10:35 |
Eclipse User |
|
|
|
Originally posted by: yavin.gmx.com
Hello,
my bundle creates in its start routine a new thread that loads classes
from this bundle. The EclipseClassLoader recognizes that the bundle is
changing its state and waits until the state change is done, before
returning the class requested by the new thread.
(EclipseClassLoader.java:108) If the state does not change after 5
seconds the class is returned anyway but an error is logged.
What if I create the new thread in the constructor of the Activator,
does this have any effect on this issue? I don't want that the framework
waits 5 seconds for each class that is requested by a thread in the same
bundle.
Why behaves the EclipseClassLoader this way? Is it to track errors
during startup?
Regards, Kai
|
|
|
|
Powered by
FUDForum. Page generated in 0.02594 seconds