PATCH to add -verbose:class flag
Per Bothner
per@bothner.com
Thu Jul 8 00:24:00 GMT 2004
Tom Tromey wrote:
> Could you put [verbose_class_flag] in `namespace gcj'?
I checked the patch in with this change.
I also updated gcc/java/gcj,texi.
> This is sort of a misnomer since this code is actually only run during
> class initialization. The class might have been loaded long before.
> I'm not sure whether that little pedanticism matters? I didn't look
> at what the JDK does.
JDK does write "Loaded". I haven't verified whether they print the
message on loading and initialization. One could write a testcase
that uses Class.forName(NAME, false, LOADER) to find out. I'm don't
think it's terribly important which it is.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java-patches
mailing list