Skip to content

Commit

Permalink
REPL - tighten identification of KillException without dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlvdv committed Apr 15, 2016
1 parent 07d04dc commit 34a4352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ private void startContextSession() {
assert false; // Should not happen.
}
} catch (ThreadDeath ex) {
if (killPending) {
if (ex.getClass() != ThreadDeath.class && killPending) {
// If the previous context was killed by REPL command, then
// assume this exception is the result and the REPL should
// continue debugging in this context.
Expand Down

0 comments on commit 34a4352

Please sign in to comment.