Skip to content

Commit

Permalink
Automatic merge of jdk:master into master
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Nov 3, 2020
2 parents dcb03cf + 904561e commit 7efd38b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2904,7 +2904,9 @@ BytecodeInterpreter::run(interpreterState istate) {
// a NULL oop in it and then overwrite the oop later as needed. This isn't
// unfortunately isn't possible.

THREAD->clear_pending_exception();
if (THREAD->has_pending_exception()) {
THREAD->clear_pending_exception();
}

//
// As far as we are concerned we have returned. If we have a pending exception
Expand Down

0 comments on commit 7efd38b

Please sign in to comment.