Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » EclipseClassLoader, Bundle start and Threading
EclipseClassLoader, Bundle start and Threading [message #64028] Fri, 24 March 2006 10:35 Go to next message
Eclipse UserFriend
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
Re: EclipseClassLoader, Bundle start and Threading [message #64051 is a reply to message #64028] Fri, 24 March 2006 11:14 Go to previous message
Eclipse UserFriend
Originally posted by: yavin.gmx.com

Okay, forget it. The problem is that the start routine is to slow.
Previous Topic:HowTo change order of bundle stop
Next Topic:Saving the state of the platform
Goto Forum:
  


Current Time: Sat Dec 21 13:47:54 GMT 2024

Powered by FUDForum. Page generated in 0.02594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top