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]

Compiler errors while parsing bytecode files.


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

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