Why do we need to do this for javax.* classes? The whole point of the javax packages is that I could be downloadig them from a URL and hence using a different classloader.
Jose Alberto > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 12, 2000 12:05 AM > To: [EMAIL PROTECTED] > Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant > AntClassLoader.java > > > Hi, > > I've always thought that VMs > 1.1 would make sure that java.* classes > wouldn't be loaded via a classloader other that the system > classloader. This is true for all JDKs I've tried on Linux (they > simply ignore your custom classloader). > > Erik's report seems to indicate that some VMs will use the custom > classloader and then throw an exception instead of ignoring the > classloader. > > I've asked him to try the patch first and it fixed the problem. > > Stefan >
