# HG changeset patch # User Tom Rodriguez # Date 1501785135 25200 # Node ID cc8d6f9d5db3033974be13f74c9a749d77235432 # Parent 04c0ef7ca6bfa7f25a81dd902e214f89524fb935 Fix backport of JDK-8164480 diff -r 04c0ef7ca6bf -r cc8d6f9d5db3 src/share/vm/opto/runtime.cpp --- a/src/share/vm/opto/runtime.cpp Thu Aug 03 11:30:19 2017 -0700 +++ b/src/share/vm/opto/runtime.cpp Thu Aug 03 11:32:15 2017 -0700 @@ -1225,7 +1225,7 @@ // and there didn't happen another exception during the computation of the // compiled exception handler. Checking for exception oop equality is not // sufficient because some exceptions are pre-allocated and reused. - if (!force_unwind && recursive_exception) { + if (!force_unwind && !recursive_exception) { nm->add_handler_for_exception_and_pc(exception,pc,handler_address); } } else {