On Tue, 11 Jun 2002, Bill Barker wrote: > > + > > + public URL[] getURLs() { > > + return ((URLClassLoader)parent).getURLs(); > > + } > > > > This can (and will) cause a ClassCastException. You can't assume that > parent is a URLClassLoader.
I'll add a check. If JDK1.2 is used, we also use URLClassLoader ( and DCL12 can't be used with 1.1 ). At least with the standard set of modules. I don't see any good reason to use anything but a URLClassLoader ( or extension of ) if JDK1.2 is available, it is more secure and simpler. Costin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>