ole.ersoy at gmail.com
Mon Oct 27 09:36:36 PDT 2008
We think there is a bug in sun.net.www.protocol.jar.JarURLConnection. When using java-1.7.0-icedtea to load resources (Dojo 1.2 in this case ) with weblets (https://weblets.dev.java.net) we see the following behavior:
(Note that the exception described below does not occur with the Java 1.6 Sun VM).
This url works:
I also sampled loading resources from dojox and dijit and those work as well.
However this one does not:
And it results in this exception:
java.io.FileNotFoundException: JAR entry resources/v120/util/doh/runner.js not found in /var/lib/tomcat/webapps/dojo.webapp/WEB-INF/lib/dojo-1.2.0.jar
Another thing. If I try to load a non existing resource like this:
I just get a 404 saying this:
HTTP Status 404 -
type Status report
description The requested resource () is not available.
So there's something about the util/doh/runner.js that causes JarURLConnection.java:140 to hickup, I wish I could be more descriptive. I'll be glad to file a bug report, although I had a tricky time finding the bug database on OpenJDK.org.
More information about the net-dev