aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/Class.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-07-19 11:29:31 -0700
committerPer Bothner <bothner@gcc.gnu.org>2004-07-19 11:29:31 -0700
commit963ddbd50fbb62666384ea56cfc7e06753f9bb6d (patch)
tree597d2c3053a8c38dbe90a83d42c5d5788337fa93 /libjava/java/lang/Class.h
parentb06f03362fe56b4a81a506f6c7fc6a5bf721d905 (diff)
downloadgcc-963ddbd50fbb62666384ea56cfc7e06753f9bb6d.zip
gcc-963ddbd50fbb62666384ea56cfc7e06753f9bb6d.tar.gz
gcc-963ddbd50fbb62666384ea56cfc7e06753f9bb6d.tar.bz2
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
Diffstat (limited to 'libjava/java/lang/Class.h')
-rw-r--r--libjava/java/lang/Class.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h
index e93920c..de00c2e 100644
--- a/libjava/java/lang/Class.h
+++ b/libjava/java/lang/Class.h
@@ -39,10 +39,9 @@ enum
JV_STATE_PRELOADING = 1, // Can do _Jv_FindClass.
JV_STATE_LOADING = 3, // Has super installed.
- JV_STATE_LOADED = 5, // Is complete.
-
- JV_STATE_COMPILED = 6, // This was a compiled class.
+ JV_STATE_COMPILED = 5, // This was a compiled class.
+ JV_STATE_LOADED = 6, // Is complete.
JV_STATE_PREPARED = 7, // Layout & static init done.
JV_STATE_LINKED = 9, // Strings interned.