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:
@@ -336,6 +336,8 @@ _Jv_ClassReader::parse ()
|
||||
|
||||
// tell everyone we're done.
|
||||
def->state = JV_STATE_LOADED;
|
||||
if (gcj::verbose_class_flag)
|
||||
fprintf (stderr, "[Loaded (bytecode) %s]\n", (const char*)(def->name->data));
|
||||
def->notifyAll ();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user