RFC: Netx - Set JNLPClassloader as the classloader for system created threads
Omair Majid
omajid at redhat.com
Thu Jul 9 08:57:43 PDT 2009
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?
Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netx-classloader-all-threads.patch
Type: text/x-patch
Size: 2752 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090709/cb02e8c9/netx-classloader-all-threads.patch
More information about the distro-pkg-dev
mailing list