Patch: URLClassLoader change

Tom Tromey tromey@redhat.com
Mon Dec 30 15:25:00 GMT 2002


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Me too. But this is code shared with Classpath, not all URL and
Mark> File handling classes have been merged yet.

Good point.

Mark> If it is the case that it is only needed for constructing jar
Mark> URLs then maybe we could just use File.toURL() at this point
Mark> (and hope that does the correct thing in both Classpath and gcj
Mark> on Posix and Windows based systems.

Usually to find out stuff like this I try to write a test case.

It looks like the libgcj File.toURL is incorrect.  And I think we have
other platform bugs in File.  More work for Ranjit :-}

Tom



More information about the Java-patches mailing list