summaryrefslogtreecommitdiff
path: root/libjava/defineclass.cc
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-19 18:29:31 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-19 18:29:31 +0000
commitd3dcef523dc4306338e31b9d4053d32e8711441e (patch)
tree597d2c3053a8c38dbe90a83d42c5d5788337fa93 /libjava/defineclass.cc
parent030c91c8b17c278a78a75cc403239be78b44a86e (diff)
downloadgcc-d3dcef523dc4306338e31b9d4053d32e8711441e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84926 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/defineclass.cc')
-rw-r--r--libjava/defineclass.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/defineclass.cc b/libjava/defineclass.cc
index 26606815836..0648ad98287 100644
--- a/libjava/defineclass.cc
+++ b/libjava/defineclass.cc
@@ -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 ();
}