File.toUrl, is this a bug? the problem
Tom Tromey
tromey@redhat.com
Mon Apr 14 18:46:00 GMT 2003
>>>>> "Marilen" == Marilen Corciovei <marilen.corciovei@nemesisit.ro> writes:
Marilen> - the File.toUrl() returns something like:
Marilen> "file:/c:/thisiscool-gcc/examples/reflect/src/list" (java.io.File#779)
Marilen> which is parsed at java.net.URL#331 after that the URL.getFile will
Marilen> return "/c:/thisiscool-gcc/examples/reflect/src/list". From this point
Marilen> all the problems begin.
So it sounds like a problem parsing the URL.
Do you have another JVM available on your machine? I'm curious what
URL it comes up with.
Anyway, could you file a PR with your test case and the other
information?
Tom
More information about the Java
mailing list