[RFC][plugin]: class in CWD can block applet from loading.
dlila at redhat.com
Tue Mar 29 13:23:04 PDT 2011
Is this ok?
+2011-03-29 Denis Lila <dlila at redhat.com>
+ * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+ (loadClass): Look through our classes before trying
+ the system class loader.
In this version I catch and ignore SecurityExceptions after
calling findClass(name). This way, if we don't have permissions
to load a class from the codebase we look through the system
classloader, which is what we do now.
----- Original Message -----
> * Denis Lila <dlila at redhat.com> [2011-03-29 14:48]:
> > > Isn't javaws affected by the problem as well?
> > I'm not sure. I'm testing it right now, but I thought
> > I should post my idea for the fix first. It seems like
> > the kind of thing with a high likelihood of someone not
> > liking it. If that were the case, I wouldn't have wanted
> > to waste time implementing it for javaws too.
> Well, we control the classloader. So if javaws is affected as well
> it most likely will be, given the issue), it'd best to fix it in the
> classloader than faking a classpath for the system classloader.
> > However, just looking at the code, I would say yes, javaws
> > is also affected.
> > Regards,
> > Denis.
> > ----- Original Message -----
> > > * Denis Lila <dlila at redhat.com> [2011-03-29 14:38]:
> > > > Hi.
> > ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1109 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110329/14a0a45f/hg.diff
More information about the distro-pkg-dev