I stand corrected, and apologize. --DD

-----Original Message-----
From: Andrew Haley [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 07, 2003 11:53 AM
To: Ant Developers List
Subject: RE: [Patch] trying solve w2k command line length limitations

Dominique Devienne writes:
 > Stefan is *of course* right! Class.forName always uses the system class
 > loader, and not some current loader.

No it doesn't.  It uses the defining class loader of the caller.

http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html#forName(java.la
ng.String)
Andrew.

Reply via email to