Audrius Meskauskas wrote:
> In the case when the thread is created and started inside the 
> bootstrap classes,  it may be no any user class on the stack.
> Without using thread context class loader, it may not be possible
> to locate any class of the user application that is currently
> running (the class name is frequently specified via system
> properties). The CORBA implementation can instantiate the user
> - defined interceptor, helper and holder classes only with the
> help of the thread context class loader, as it is doing 
> instantiation from the threads running with no user classes 
> on the stack.
> 
> If you want to remove the context class loader somewhere, 
> please be sure what the similar situation will never be the case.

The way I understand it, RMI code already delegates to the thread
context class loader, so it doesn't need to do so twice by way of the
passed in "default" class loader.

Thanks,
Jeroen

Reply via email to