Obsolete/incorrect assertion in natVMClassLoader.cc?

Tom Tromey tromey@redhat.com
Mon Apr 27 22:16:00 GMT 2009


>>>>> "Dave" == Dave Korn <dave.korn.cygwin@googlemail.com> writes:

Dave>   According to an old post on the subject:
Dave>     http://gcc.gnu.org/ml/java/2005-07/msg00004.html

Dave> "The assertion is wrong".  Am I right in taking it to mean that
Dave> after calling DefineClass, the class state is indeed *supposed*
Dave> to be JV_STATE_READ (as it in fact is, having just been
Dave> processed by _Jv_ClassReader::parse), rather than
Dave> JV_STATE_LOADED (which the assertion tests for)?

Yes, I think so.
If you want to fix or delete the assertion, go right ahead :)

Tom



More information about the Java-patches mailing list