summaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authordavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-28 03:49:13 +0000
committerdavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-28 03:49:13 +0000
commitde2f130213ca7300e4dce5aa6095b99c74b310a6 (patch)
tree78f6bd815c4e99b1cdcb67c20f9d4a852c244686 /libjava/java
parent2b0487e89eb3b744294883953a34f865d6846d17 (diff)
downloadgcc-de2f130213ca7300e4dce5aa6095b99c74b310a6.tar.gz
* java/lang/natVMClassLoader.cc
(java::lang::VMClassLoader::defineClass): Fix assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/natVMClassLoader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natVMClassLoader.cc b/libjava/java/lang/natVMClassLoader.cc
index 3e5ff3ec70e..4edff7dafda 100644
--- a/libjava/java/lang/natVMClassLoader.cc
+++ b/libjava/java/lang/natVMClassLoader.cc
@@ -96,7 +96,7 @@ java::lang::VMClassLoader::defineClass (java::lang::ClassLoader *loader,
}
// if everything proceeded sucessfully, we're loaded.
- JvAssert (klass->state == JV_STATE_LOADED);
+ JvAssert (klass->state == JV_STATE_READ);
}
#endif // INTERPRETER