[icedtea-web] Feedback requested - reworking JNLPClassLoader#foundMainJar

Adam Domurad adomurad at redhat.com
Tue Aug 28 13:57:47 PDT 2012

Motivation here is that I'm looking into adding additional code to make
sure main class's can be found via INDEX.LIST for PR1112 [1]. I had
noticed already that simply hard-wiring foundMainJar = true; caused the
reproducer I created to pass. 

What duties does foundMainJar accomplish other than causing a
LaunchException ? Are there any major flaws in this approach used in the
patch (using findLoadedClassAll)?

(This patch is a rough sketch, don't scrutinize it -too- much :)

- Adam

[1] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1112
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alt-found-main-jar.patch
Type: text/x-patch
Size: 3388 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120828/c7a65506/alt-found-main-jar.patch 

More information about the distro-pkg-dev mailing list