This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: File.toUrl, is this a bug? the problem
>>>>> "Marilen" == Marilen Corciovei <marilen dot corciovei at nemesisit dot 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