Patch: URLClassLoader change

Mark Wielaard mark@klomp.org
Sun Dec 29 23:11:00 GMT 2002


Hi,

On Mon, 2002-12-30 at 03:10, Anthony Green wrote:
> I haven't tried this patch yet... but will it solve the following
> problem?
> [...]
> With the 3.3, I get:
> 
> file:/home/BadURL.java
> 
> Which is definitely bad.  It looks like "green" is being stripped out in
> URLStreamHandler.parseURL.

Yes, the patch will fix that and give file:./BadURL.java.
It was caused by a bug in getCanonicalFileURL().
(See also: http://gcc.gnu.org/ml/java-patches/2002-q4/msg00489.html)

Cheers,

Mark




More information about the Java-patches mailing list