We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a0842 commit d06d6f5Copy full SHA for d06d6f5
src/hotspot/share/utilities/exceptions.hpp
@@ -321,8 +321,8 @@ class Exceptions {
321
THREAD); if (HAS_PENDING_EXCEPTION) { \
322
oop ex = PENDING_EXCEPTION; \
323
CLEAR_PENDING_EXCEPTION; \
324
- ex->print(); \
325
- ShouldNotReachHere(); \
+ DEBUG_ONLY(ex->print();) \
+ assert(false, "CATCH"); \
326
} (void)(0
327
328
// ExceptionMark is a stack-allocated helper class for local exception handling.
0 commit comments