// FIXME: could use some cleaning up
/** a JavaScript function, compiled into bytecode */
-class CompiledFunctionImpl extends JS.Callable implements ByteCodes, Tokens {
+class CompiledFunctionImpl extends JSCallable implements ByteCodes, Tokens {
// Fields and Accessors ///////////////////////////////////////////////
}
}
+
+/** this class exists solely to work around a GCJ bug */
+abstract class JSCallable extends JS.Callable {
+ public abstract Object call(JS.Array args) throws JS.Exn;
+}