This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiler errors while parsing bytecode files.


> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]