libgcj/6298: java.net.URL doesn't handle file:/c:/pub/files/foobar.txt correctly (Mauve failure)

mark@klomp.org mark@klomp.org
Sun Apr 14 08:36:00 GMT 2002


>Number:         6298
>Category:       libgcj
>Synopsis:       java.net.URL doesn't handle file:/c:/pub/files/foobar.txt correctly (Mauve failure)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 14 08:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     mark@klomp.org
>Release:        gcj 3.1
>Organization:
>Environment:

>Description:
Mauve contains a couple of tests for creating new file URLs with windows/dos drive letters. We don't seem to handle those correctly.

FAIL: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
got file:c:/pub/files/foobar.txt but expected file:/c:/pub/files/foobar.txt
FAIL: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
got c:/pub/files/foobar.txt but expected /c:/pub/files/foobar.txt
>How-To-Repeat:
Using Mauve:
echo gnu.testlet.java.net.URL.URLTest | ./SimpleTestHarness -debug
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list