RFC: Merge java.net.URL

Gary Benson gbenson@redhat.com
Wed Jan 10 16:42:00 GMT 2007


Tom Tromey wrote:
> >>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
> 
> Gary> Yeah, I saw some of that.  From the comment it looked as
> Gary> though it might have had something to do with statically
> Gary> linked executables, but the attached test program shows
> Gary> handlers for both file and core have been created by the
> Gary> time main() is called, so...
> 
> Yeah, there's a reference to file in MainThread:
> 
>   static final Class Kfile = gnu.java.net.protocol.file.Handler.class;
> 
> Presumably core is brought in statically already, I didn't look.
> Anyway this probably means that the old URL hack is no longer
> needed.  It is hard to be certain.

I've a feeling the only way we'll find out if it is still needed is to
commit and see if anyone complains ;)

Cheers,
Gary



More information about the Java-patches mailing list