Patch to allow sharing of classloader between extentions

Deepak Bhole dbhole at redhat.com
Thu Aug 13 11:25:20 PDT 2009


JNLP files allow loading of child jnlps via the extension element.
Currently, the classloader used by these child jnlps is different than
the one used by the parent. When a resource request comes in, the loader
and its children are searched. In theory this should work, but many
applets don't like it. For example:

http://javafx.com/samples/SwirlingSquares/webstart/SwirlingSquares.jnlp

Attached patch makes it so that the same loader is shared. This is not an
ideal fix, but more of a workaround to let other applets work. It does not 
break any existing loading mechanism AFAIK, and allows a set of applets 
that didn't work before, to work.

Thoughts?

Cheers,
Deepak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extension-loader.patch
Type: text/x-patch
Size: 7135 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090813/145797ab/extension-loader.patch 


More information about the distro-pkg-dev mailing list