The class loader of the Runnable implementation class that you register is the one that will be used to load any classes that your Runnable implementation uses. So, assuming that your Runnable implementation class is from your bundle, then it will be loaded from your bundle class loader, which has access to everything on your bundle class path...

-> richard

David Lindelöf wrote:
Dear all,

When a bundle registers a Runnable as a shutdown hook, must all classes
used when running that thread have been exported by the bundle? In other
words, which classes are on the "classpath" of the thread that runs that
Runnable?

Kind regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to