class initialisation
Per Bothner
bothner@cygnus.com
Wed Sep 16 16:38:00 GMT 1998
> In particular, it's not clear what the "first active
> use" is: for instance, is calling Class.forName() an active use?
Yes. See http://www.javasoft.com/docs/books/jls/clarify.html:
Java.lang.Class.forName()
JLS 20.3.8 should state that a call to java.lang.Class.forName("X") causes
the class named "X" to be initialized.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner
More information about the Java
mailing list