Patch to allow sharing of classloader between extentions

Gary Benson gbenson at redhat.com
Fri Aug 14 01:17:18 PDT 2009


Deepak Bhole wrote:
> 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?

Does it allow the classes of one applet to see the classes of another?

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list