Patch: RFA: solib URLs

Tom Tromey tromey@redhat.com
Sat Jan 25 19:26:00 GMT 2003


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> I don't understand the point of this.  Why not just use the
Andrew> "file:" prefix instead of adding a nonstandard one?

I think we can't do that, since how URLClassLoader treats file: URLs
is already defined.  I admit it would be really unusual for someone to
name a jar file `foo.so' and expect it to work as a jar file, or to
rely on the jar file reader giving an error if they specified a real
.so file.  But both those behaviors are what the standard JDK would
give.

Tom



More information about the Java-patches mailing list