This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Obsolete/incorrect assertion in natVMClassLoader.cc?
- From: Tom Tromey <tromey at redhat dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 27 Apr 2009 16:15:57 -0600
- Subject: Re: Obsolete/incorrect assertion in natVMClassLoader.cc?
- References: <49F5B81B.9030603@gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "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