RFC: Bug in JNLPClassloader when using nested jars
Deepak Bhole
dbhole at redhat.com
Mon Jun 29 13:51:18 PDT 2009
* Omair Majid <omajid at redhat.com> [2009-06-29 16:27]:
> Hi,
>
> The attached patch fixes a bug in JNLPClassloader that occurs when
> JNLPClassloader tries to load nested jars in nested directories.
>
> To reproduce the issue:
> $ javaws http://dnld0.sparkom.com/sparkangels/sangels/sparkangels.jnlp
> [snip]
> Caused by: java.lang.NoClassDefFoundError: sparkangels/vb
> at com.sparkom.launcher.Main.main(Unknown Source)
> ... 6 more
> [snip]
>
Looks good to me.
Deepak
> ChangeLog:
> 2009-06-29 Omair Majid <omajid at redhat.com>
>
> * rt/net/sourceforge/jnlp/resources/Messages.properties:
> Add RNestedJarExtration.
> * rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
> (activateJars): Create any needed subdirectories for nested jars.
>
> Any suggestions?
>
> Cheers,
> Omair
More information about the distro-pkg-dev
mailing list