This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Obsolete/incorrect assertion in natVMClassLoader.cc?


Dave Korn wrote:
> applied the obvious fix 

  Obvious it may be, but why don't I attach the patch anyway? ;-)

    cheers,
      DaveK
Index: java/lang/natVMClassLoader.cc
===================================================================
--- java/lang/natVMClassLoader.cc	(revision 146867)
+++ java/lang/natVMClassLoader.cc	(working copy)
@@ -96,7 +96,7 @@ java::lang::VMClassLoader::defineClass (java::lang
 	}
 
       // if everything proceeded sucessfully, we're loaded.
-      JvAssert (klass->state == JV_STATE_LOADED);
+      JvAssert (klass->state == JV_STATE_READ);
     }
 #endif // INTERPRETER
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]