Print -verbose:message on "loading", not initialization.

* java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
	* defineclass.cc (_Jv_ClassReader::parse):  Print message if
	gcj::verbose_class_flag.
	* java/lang/natClass.cc (initializeClass):  Don't print message here.
	* java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
	_JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
	(_Jv_PrepareCompiledClass):  Likewise.

From-SVN: r84926
This commit is contained in:
Per Bothner
2004-07-19 11:29:31 -07:00
committed by Per Bothner
parent b06f03362f
commit 963ddbd50f
5 changed files with 27 additions and 7 deletions
-3
View File
@@ -831,9 +831,6 @@ java::lang::Class::initializeClass (void)
throw except;
}
if (gcj::verbose_class_flag)
fprintf (stderr, "[Loaded %s]\n", (const char*)(name->data));
_Jv_MonitorEnter (this);
state = JV_STATE_DONE;
notifyAll ();