We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd836e commit 904561eCopy full SHA for 904561e
src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp
@@ -2904,7 +2904,9 @@ BytecodeInterpreter::run(interpreterState istate) {
2904
// a NULL oop in it and then overwrite the oop later as needed. This isn't
2905
// unfortunately isn't possible.
2906
2907
- THREAD->clear_pending_exception();
+ if (THREAD->has_pending_exception()) {
2908
+ THREAD->clear_pending_exception();
2909
+ }
2910
2911
//
2912
// As far as we are concerned we have returned. If we have a pending exception
0 commit comments