This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to add -verbose:class flag


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]