InvokeVarargs with a method with more than 10 arguments
Rémi Forax
forax at univ-mlv.fr
Sun May 23 15:01:03 PDT 2010
I got a NYI if I try to call a method using invokeVarargs with more than
10 arguments.
Rémi
trace:invokeVarargs
(java.lang.Object,double,com.googlecode.phpreboot.model.Function,com.googlecode.phpreboot.model.Function,com.googlecode.phpreboot.model.Function,com.googlecode.phpreboot.model.Function,double,com.googlecode.phpreboot.model.Var,com.googlecode.phpreboot.model.Var,com.googlecode.phpreboot.model.Var,com.googlecode.phpreboot.model.Var,com.googlecode.phpreboot.model.Var,com.googlecode.phpreboot.model.Var)void
com.googlecode.phpreboot.runtime.RT$RTError: NYI
at com.googlecode.phpreboot.runtime.RT.error(RT.java:47)
at
com.googlecode.phpreboot.compiler.Compiler.traceCompile(Compiler.java:179)
at
com.googlecode.phpreboot.interpreter.Evaluator.visit(Evaluator.java:467)
at
com.googlecode.phpreboot.interpreter.Evaluator.visit(Evaluator.java:1)
at
com.googlecode.phpreboot.ast.LabeledInstrWhile.accept(LabeledInstrWhile.java:38)
at
com.googlecode.phpreboot.interpreter.Evaluator.eval(Evaluator.java:188)
at
com.googlecode.phpreboot.interpreter.Evaluator.visit(Evaluator.java:361)
at
com.googlecode.phpreboot.interpreter.Evaluator.visit(Evaluator.java:1)
at
com.googlecode.phpreboot.ast.InstrLabeled.accept(InstrLabeled.java:38)
at
com.googlecode.phpreboot.interpreter.Evaluator.eval(Evaluator.java:188)
at
com.googlecode.phpreboot.interpreter.Interpreter.eval(Interpreter.java:69)
at
com.googlecode.phpreboot.interpreter.Interpreter.instr_labeled(Interpreter.java:307)
at
com.googlecode.phpreboot.tools.AnalyzerProcessor.reduce(AnalyzerProcessor.java:729)
at
com.googlecode.phpreboot.tools.AnalyzerProcessor.reduce(AnalyzerProcessor.java:1)
at
fr.umlv.tatoo.runtime.tools.ToolsProcessor.reduce(ToolsProcessor.java:117)
at fr.umlv.tatoo.runtime.parser.Parser.performReduce(Parser.java:484)
at fr.umlv.tatoo.runtime.parser.Parser.performShift(Parser.java:508)
at
fr.umlv.tatoo.runtime.parser.ShiftAction.doPerform(ShiftAction.java:23)
at fr.umlv.tatoo.runtime.parser.Parser.doStep(Parser.java:402)
at fr.umlv.tatoo.runtime.parser.Parser.push(Parser.java:384)
at
fr.umlv.tatoo.runtime.tools.ToolsProcessor$LexerHandler.ruleVerified(ToolsProcessor.java:87)
at
fr.umlv.tatoo.runtime.tools.ToolsProcessor$LexerHandler.ruleVerified(ToolsProcessor.java:67)
at
fr.umlv.tatoo.runtime.lexer.Lexer$LexerImpl.ruleVerified(Lexer.java:141)
at fr.umlv.tatoo.runtime.lexer.Lexer$LexerImpl.step(Lexer.java:86)
at fr.umlv.tatoo.runtime.lexer.Lexer$LexerImpl.run(Lexer.java:155)
at
com.googlecode.phpreboot.interpreter.Analyzer.analyze(Analyzer.java:82)
at com.googlecode.phpreboot.Main.main(Main.java:176)
Caused by: java.lang.UnsupportedOperationException: NYI
at sun.dyn.FromGeneric.buildAdapterFromBytecodes(FromGeneric.java:238)
at sun.dyn.FromGeneric.<init>(FromGeneric.java:95)
at sun.dyn.FromGeneric.of(FromGeneric.java:182)
at sun.dyn.FromGeneric.make(FromGeneric.java:174)
at sun.dyn.MethodHandleImpl.convertArguments(MethodHandleImpl.java:804)
at java.dyn.MethodHandles.convertArguments(MethodHandles.java:1021)
at sun.dyn.Invokers.genericInvoker(Invokers.java:78)
at sun.dyn.Invokers.varargsInvoker(Invokers.java:86)
at java.dyn.MethodHandle.invokeVarargs(MethodHandle.java:364)
at com.googlecode.phpreboot.compil
More information about the mlvm-dev
mailing list