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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user