FYI: Patch: gnu.java.net.protocol.jar.Handler

Guilhem Lavaux guilhem@kaffe.org
Fri Dec 19 17:27:00 GMT 2003


Michael Koch wrote:

>Hi list,
>
>
>I commited the attached patch to merge gnu.java.net.protocol.jar.Handler with 
>classpath again. This also fixes one mauve testcase and gives room for more 
>fixes to jar URLs.
>
>  
>
I've already written something concerning Jar handlers and it appeared 
that sun is throwing an Error in the sub-handler if the jar URL is 
mispelled: it is then possible to throw an InvalidURLException (or 
something like that) in URL parsers when the URL is mispelled. To be 
able not to confuse things, I had overridden Error and throwed this 
"special" error in parseUrl.

Unfortunately, the patch didn't come to classpath's CVS ...

Regards,
Guilhem.



More information about the Java-patches mailing list