harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: [classlib][archive] the test tests.api.java.net.JarURLConnectionTest failed for me on WinXP
Date Tue, 30 Jan 2007 15:47:39 GMT
It was caused by my patch on harmony-1700. The URL "jar:file://" is ok
on linux but fails on windows.

attached  patch fixes this problem on windows, but I'm not sure if
there is no problem for linux.(I'm at home and there is no linux env
could be made use of)

I'll check it on linux tomorrow when I get back to office asap.

On 1/30/07, Tony Wu <wuyuehao@gmail.com> wrote:
> I'm looking into it
>
> On 1/30/07, Vladimir Ivanov <ivavladimir@gmail.com> wrote:
> > Unit Tests: (19373)
> > error test_getJarFile29tests.api.java.net.JarURLConnectionTest
> >
> >  Unit test test tests.api.java.net.JarURLConnectionTest failed for me
> > on WinXP. Could somebody reproduce/ fix it?
> > Log details:
> > Test: test_getJarFile29
> > Class: tests.api.java.net.JarURLConnectionTest
> >
> > java.util.zip.ZipException: Unable to open:
> > \\C\DOCUME~1\LABDRL~1\LOCALS~1\Temp\1+2 344448test.jar
> > at java.util.zip.ZipFile.openZip(ZipFile.java:120)
> > at java.util.zip.ZipFile.<init>(ZipFile.java:93)
> > at java.util.jar.JarFile.<init>(JarFile.java)
> > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.openJarFile(JarURLConnection.java:268)
> > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.findJarFile(JarURLConnection.java:198)
> > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:158)
> > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:175)
> > at tests.api.java.net.JarURLConnectionTest.test_getJarFile29(JarURLConnectionTest.java:146)
> > at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> >
> > Last update to these files:
> > modified pyang /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/JarURLConnectionTest.java
> > 01/30/2007 11:16:49
> > modifiedpyang/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java01/30/2007
> > 11:16:49
> >
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>


-- 
Tony Wu
China Software Development Lab, IBM

Mime
View raw message