RFC: Netx - Set JNLPClassloader as the classloader for system created threads

Omair Majid omajid at redhat.com
Thu Jul 9 14:30:39 PDT 2009


Deepak Bhole wrote:
> * Omair Majid <omajid at redhat.com> [2009-07-09 11:58]:
>> Hi,
>>
>> The attached patch makes JNLPClassLoader the context classloader for  
>> threads created before the JNLP application starts. This deals with the  
>> case where the JNLP application needs a previously created thread (such  
>> as the Swing Event Dispatch Thread) to load a resource provided by the  
>> application.
>>
>> Bugs:
>> https://bugzilla.redhat.com/show_bug.cgi?id=509301
>> http://kenai.com/jira/browse/TRIDENT-1?focusedCommentId=15776&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_15776
>>
>>
>> ChangeLog:
>> 2009-07-09  Omair Majid <omajid at redhat.com>
>>
>>   * rt/net/sourceforge/jnlp/Launcher.java
>>   (launchApplication): Call setContextClassLoaderForAllThreads.
>>   (setContextClassLoaderForAllThreads): New function.
>>
>> Any comments?
>>
> 
> Assuming you have tested this, go ahead and apply.
> 

Thanks. Pushed as changeset 7acbff01007f.

Cheers,
Omair



More information about the distro-pkg-dev mailing list