Skip to content

Commit

Permalink
Crash on failed check
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelter-sap committed Jan 23, 2024
1 parent f368a0c commit 7fe75f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/prims/jniCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ check_pending_exception(JavaThread* thr) {
thr->get_pending_jni_exception_check());
thr->print_jni_stack();
)
*((volatile int*) 0) = 0;
thr->clear_pending_jni_exception_check(); // Just complain once
}
}
Expand Down

0 comments on commit 7fe75f9

Please sign in to comment.