Bug: InternalError
andrei.eremeev
andrei.eremeev at oracle.com
Fri Feb 6 11:33:21 UTC 2015
Hi REPL team,
Local class declaration causes failure of REPL.
-> void f() { class A {} g(); }
| Declared method f, however, it cannot be invoked until method g() is
declared
-> void g() {}
Exception in thread "main" java.lang.InternalError: Wrong # refs: 0 --
[], name: REPL.$REPL1$1A
at impl.JDIExecution.nameToRef(JDIExecution.java:139)
at impl.EvaluationStateImpl.declare(EvaluationStateImpl.java:544)
at impl.EvaluationStateImpl.declare(EvaluationStateImpl.java:596)
at impl.EvaluationStateImpl.processMethod(EvaluationStateImpl.java:397)
at impl.EvaluationStateImpl.declare(EvaluationStateImpl.java:195)
at tool.Repl.processSource(Repl.java:395)
at tool.Repl.run(Repl.java:177)
at tool.Repl.fresh(Repl.java:131)
at tool.Repl.start(Repl.java:124)
at tool.Repl.main(Repl.java:116)
Andrei Eremeev
More information about the kulla-dev
mailing list