ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Haley <...@redhat.com>
Subject RE: [Patch] trying solve w2k command line length limitations
Date Mon, 07 Apr 2003 16:53:10 GMT
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.lang.String)
Andrew.

Mime
View raw message