[Bug 271] JavaFX sample no longer runs with javaws, runs fine with java

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Dec 5 02:29:35 PST 2008


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=271





------- Comment #4 from mark at klomp.org  2008-12-05 10:29 -------
Andrew asked me about the patch in attachment #1 and while explaining it I
noticed that the second part is not correct. We shouldn't die on a missing
INDEX.LIST (the null check fix, that part is OK). But if the first INDEX.LIST
cannot find an item we shouldn't retry (the second part of the fix):

http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#JAR Index
"Once the class loader finds a INDEX.LIST file in a particular jar file, it
always trusts the information listed in it. If a mapping is found for a
particular class, but the class loader fails to find it by following the link,
an InvalidJarIndexException is thrown. When this occurs, the application
developer should rerun the jar tool on the extension to get the right
information into the index file."

So the second part of my patch is actually wrong. I am trying to recover from
the index gone bonkers. Apparently we should just crap out...


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list