* java/lang/natVMClassLoader.cc

(java::lang::VMClassLoader::defineClass):  Fix assert.

From-SVN: r146868
This commit is contained in:
Dave Korn 2009-04-28 03:49:13 +00:00 committed by Dave Korn
parent 1c2adee66e
commit 33cbe42179
2 changed files with 6 additions and 1 deletions

View 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

View 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