hg: kulla/dev/langtools: Error handling clean-up. Direct all output through proper channels. Misc clean-up.
Andrei Eremeev
andrei.eremeev at oracle.com
Thu Feb 19 19:13:38 UTC 2015
Fix failed.
I used two chunks of code:
List<byte[]> list = new ArrayList<>();
while (true) {
list.add(new byte[100000]);
}
and
void f() {
f();
}
f();
Each chunk is executed one after another. After several code executions ArrayIndexOutOfBoundsException is thrown:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at impl.EvaluationStateImpl.translateExecutionException(EvaluationStateImpl.java:651)
at impl.EvaluationStateImpl.execute(EvaluationStateImpl.java:640)
at tool.Repl.processSource(Repl.java:587)
at tool.Repl.run(Repl.java:264)
at tool.Repl.cmdLoad(Repl.java:482)
at tool.Repl.processCommand(Repl.java:337)
at tool.Repl.run(Repl.java:262)
at tool.Repl.start(Repl.java:194)
at tool.Repl.start(Repl.java:161)
at tool.Repl.main(Repl.java:156)
or evaluation state dies "| State engine terminated. Resetting...".
Andrei Eremeev
----- Original Message -----
From: robert.field at oracle.com
To: kulla-dev at openjdk.java.net
Sent: Thursday, February 19, 2015 2:37:10 AM GMT +04:00 Abu Dhabi / Muscat
Subject: hg: kulla/dev/langtools: Error handling clean-up. Direct all output through proper channels. Misc clean-up.
Changeset: ec9edd929667
Author: rfield
Date: 2015-02-18 15:36 -0800
URL: http://hg.openjdk.java.net/kulla/dev/langtools/rev/ec9edd929667
Error handling clean-up. Direct all output through proper channels. Misc clean-up.
! repl/TODO
! repl/src/impl/CompletenessAnalyzer.java
! repl/src/impl/EvaluationProcessingImpl.java
! repl/src/impl/EvaluationStateImpl.java
! repl/src/impl/JDIExecution.java
! repl/src/impl/MemoryFileManager.java
! repl/src/impl/SnippetMaps.java
! repl/src/impl/SourceCodeAnalysisImpl.java
! repl/src/impl/TaskFactory.java
! repl/src/impl/ThreadInfo.java
! repl/src/impl/TreeDissector.java
! repl/src/impl/Util.java
! repl/src/impl/VMConnection.java
! repl/src/remote/RemoteAgent.java
More information about the kulla-dev
mailing list