* java/lang/natVMClassLoader.cc
authordavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 2009 03:49:13 +0000 (03:49 +0000)
committerdavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 2009 03:49:13 +0000 (03:49 +0000)
(java::lang::VMClassLoader::defineClass):  Fix assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146868 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/lang/natVMClassLoader.cc

index 878797a..088f5d4 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-28  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * java/lang/natVMClassLoader.cc
+       (java::lang::VMClassLoader::defineClass):  Fix assert.
+
 2009-04-26  Matthias Klose <doko@ubuntu.com>
 
        * contrib/aot-compile.in: Print diagnostics for malformed or invalid
index 3e5ff3e..4edff7d 100644 (file)
@@ -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