ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <JFernan...@viquity.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant AntClas sLoader.java
Date Thu, 12 Oct 2000 20:02:28 GMT
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:bodewig@bost.de]
> Sent: Thursday, October 12, 2000 12:05 AM
> To: ant-dev@jakarta.apache.org
> 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
> 

Mime
View raw message