changeset 24161:cc8d6f9d5db3

Fix backport of JDK-8164480
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 03 Aug 2017 11:32:15 -0700
parents 04c0ef7ca6bf
children 0137da2b56d9
files src/share/vm/opto/runtime.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 {