Stephen Huntley
-
2009-09-01
I generated a Javascript file from a Java class file using XMLVM. When I tried to load the Javascript file into the Spidermonkey command-line Javascript interpreter, I got the following error:
js> load('org_ibex_nestedvm_UnixRuntime.js');
org_ibex_nestedvm_UnixRuntime.js:4567: SyntaxError: syntax error:
org_ibex_nestedvm_UnixRuntime.js:4567: __stack[__sp++] = (__objectref instanceof String[]) ? 1 : 0;
org_ibex_nestedvm_UnixRuntime.js:4567: .....................................................^
Executed on an Ubuntu Hardy computer, with Spidermonkey version 1.7.0 installed from the standard package repository.
The Javascript file, as well as the original java file and class file are attached.