[RFC][plugin]: class in CWD can block applet from loading.
dlila at redhat.com
Tue Mar 29 11:37:36 PDT 2011
This is the fix I came up with for this issue. I just
start up the jvm with classpath ~/.icedtea so when we do
"return parent.loadClass(name);" in JNLPClassLoader.loadClass
the parent doesn't look in the cwd. It still looks into ~/.icedtea
so if that's the current directory the bug will reappear. I don't
think that's a problem because there's no reason for the user to
be in that directory, and even then, there shouldn't be any class
files in ~/.icedtea.
+2011-03-29 Denis Lila <dlila at redhat.com>
+ * plugin/icedteanp/IcedTeaNPPlugin.cc
+ (plugin_start_appletviewer): Replace hardcoded indices
+ with a variable; roll up free calls in a loop; fix whitespace;
+ set classpath to ~/.icedtea.
The first three changes mentioned above aren't related to this bug,
but I think they would be nice to have.
Any comments are much appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4073 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110329/0c3e3540/hg.diff
More information about the distro-pkg-dev