JarURLConnection Bug?

2008-10-27 Thread Ole Ersoy

Hi,

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:

http://localhost/dojo.webapp/resources/javascript/dojo/dojo.js

I also sampled loading resources from dojox and dijit and those work as well.

However this one does not:

http://localhost/dojo.webapp/resources/javascript/util/doh/runner.js

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
  sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)


Another thing.  If I try to load a non existing resource like this:

http://localhost/dojo.webapp/resources/javascript/nonexistingresource.js

I just get a 404 saying this:

HTTP Status 404 -

type Status report

message

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.

Cheers,
- Ole



Where to File Bug Reports?

2008-10-27 Thread Ole Ersoy

Hi,

Could someone please tell the URL for filing an openjdk bug report?

Thanks,
- Ole



Re: Where to File Bug Reports?

2008-10-27 Thread Xuelei Fan
Refer to: http://bugreport.sun.com/bugreport/, at the bottom of the 
page, there is a start a new report button, report a bug from here, please.


- xuelei

Ole Ersoy wrote:

Hi,

Could someone please tell the URL for filing an openjdk bug report?

Thanks,
- Ole