This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
XAWT - verify errors
Clemens Eisserer writes:
> Hi there!
>
> >gij thinks the bytecode in this method is invalid.
> >This could be a verifier bug, or it could actually be a bug in the
> >bytecode. I can't say without more information.
> >
> So maybe it isnt my fault?
That's right. It is quite possible that the bytecode verifier is
incorrectly rejecting your code. The patch I've attached disables the
verifier.
Andrew.
Index: libjava/verify.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/verify.cc,v
retrieving revision 1.49
diff -u -r1.49 verify.cc
--- libjava/verify.cc 28 Dec 2002 06:38:51 -0000 1.49
+++ libjava/verify.cc 6 Feb 2003 19:02:41 -0000
@@ -3164,7 +3164,7 @@
void
_Jv_VerifyMethod (_Jv_InterpMethod *meth)
{
- _Jv_BytecodeVerifier v (meth);
- v.verify_instructions ();
+// _Jv_BytecodeVerifier v (meth);
+// v.verify_instructions ();
}
#endif /* INTERPRETER */