This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Compiler errors while parsing bytecode files.
- To: GChambers at provsol dot com
- Subject: Re: Compiler errors while parsing bytecode files.
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 27 Sep 1999 18:20:58 -0000
- CC: java-discuss at sourceware dot cygnus dot com
> From: Glenn Chambers <GChambers@provsol.com>
> Date: Mon, 27 Sep 1999 13:26:37 -0400
>
> I get the following error messages while attempting to compile the
> Rhino javascript interpreter with the current CVS tip.
>
> The source code has a bunch of 1.1-isms in it, so a source compile
> isn't currently possible.
>
> What's my next step?
Firstly, what bytecode compiler are you using? It might be that it's
generating illegal bytecode.
Alternatively, it might be that gcj's verifier is getting confused.
Dump the bytecodes from the .class file and have a look at the stuff
around PC=638 to see if the code really is illegal. Post some of the
disassembly here if you can't tell.
I suspect it's gcj's verifier that's causing the problem, but I won't
know without looking at the bytecode.
Andrew.