Skip to content
Permalink
Browse files
8262402: Make CATCH macro assert not fatal
Reviewed-by: dholmes
  • Loading branch information
coleenp committed Feb 26, 2021
1 parent 47a0842 commit d06d6f51e0df151f0c25e52cc5897422be7c79b1
Showing 1 changed file with 2 additions and 2 deletions.
@@ -321,8 +321,8 @@ class Exceptions {
THREAD); if (HAS_PENDING_EXCEPTION) { \
oop ex = PENDING_EXCEPTION; \
CLEAR_PENDING_EXCEPTION; \
ex->print(); \
ShouldNotReachHere(); \
DEBUG_ONLY(ex->print();) \
assert(false, "CATCH"); \
} (void)(0

// ExceptionMark is a stack-allocated helper class for local exception handling.

0 comments on commit d06d6f5

Please sign in to comment.