This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
need help debugging
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 23 Aug 2002 17:04:00 +0100 (BST)
- Subject: need help debugging
- References: <E17iGmO-0002bT-00@majestix.konqueror.de>
Michael Koch writes:
> Hello list,
>
>
> Today I tried to get ant (1.5) build with gcj/gij from CVS (trunk). During
> the build process I got the following message:
>
> /home/mkoch/local/java/bin/java -classpath
> build/classes:src/main::/usr/share/java/xalan2.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xml-apis.jar:
> -Dant.home=. org.apache.tools.ant.Main -emacs jars javadocs
> Exception in thread "main" java.lang.VerifyError: verification failed at PC
> 305 in org.apache.tools.ant.Main:runBuild((Ljava.lang.ClassLoader;)V):
> incompatible type in local variable
>
> Can someone give me a tip for debugging, how to solve this issue ? Maybe its
> a bug in gcj producing wrong output or gij not knowing some input or none of
> them.
You're going to have to use `jcf-dump -c' to get the JVM source code
and then see if PC 305 in that file really is bad bytecode.
Andrew.