Compiler errors while parsing bytecode files.

Glenn Chambers GChambers@provsol.com
Mon Sep 27 10:29:00 GMT 1999


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?

-------------------------------------
gcj -o Shell Shell.class js.jar jstools.jar --main=Shell
org/mozilla/javascript/ScriptableObject.java: In class
`org.mozilla.javascript.ScriptableObject':
org/mozilla/javascript/ScriptableObject.java: In method
`defineClass(org.mozilla.javascript.Scriptable,java.lang.Class,boolean)':
org/mozilla/javascript/ScriptableObject.java:725: unexpected type on stack
org/mozilla/javascript/ScriptableObject.java:816: unexpected type on stack
org/mozilla/javascript/regexp/NativeRegExp.java: In class
`org.mozilla.javascript.regexp.NativeRegExp':
org/mozilla/javascript/regexp/NativeRegExp.java: In method
`executeRegExp(org.mozilla.javascript.Scriptable,java.lang.String,int[],bool
ean)':
org/mozilla/javascript/regexp/NativeRegExp.java:1687: verification error at
PC=638
org/mozilla/javascript/regexp/NativeRegExp.java:1687: invalid local variable
type in load
make: *** [Shell] Error 1


More information about the Java mailing list