tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/depend DependClassLoader.java DependClassLoader12.java
Date Wed, 12 Jun 2002 00:02:17 GMT
>   +
>   +    public URL[] getURLs() {
>   +        return ((URLClassLoader)parent).getURLs();
>   +    }
>

This can (and will) cause a ClassCastException.  You can't assume that
parent is a URLClassLoader.


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message