testing Jdom

Tom Tromey tromey@redhat.com
Fri Sep 12 20:35:00 GMT 2003


>>>>> "Guido" == Guido Amoruso <guidonte@libero.it> writes:

Guido> I'm testing gcj-3.3 (and gij) with classpath-0.6 on Debian (ppc and
Guido> i386) in order to use dvi2svg

Guido> Exception in thread "main" java.lang.VerifyError: verification failed at
Guido> PC 74 in
Guido> org.jdom.input.SAXBuilder:build((Lorg.xml.sax.InputSource;)Lorg.jdom.Document;): incompatible type on stack

Guido> Am I missing something or is it a bug somewhere?

This is a known bug in the bytecode verifier in 3.3.  It doesn't
properly handle merging interface types.  This is fixed in cvs head.
Meanwhile you could disable the verifier and rebuild 3.3 as a
workaround.

To disable the verifier, comment out the body of the function
_Jv_VerifyMethod.  This appears at the end of the file
gcc/libjava/verify.cc.

Tom



More information about the Java mailing list