changeset 24164:f98ea2d742a2

fixed missing exception propagation (JDK-8185790)
author Doug Simon <doug.simon@oracle.com>
date Tue, 08 Aug 2017 10:06:50 +0200
parents 7d8e0c328b64
children fbcbf83757cb
files src/share/vm/jvmci/jvmciCompilerToVM.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompilerToVM.cpp	Tue Aug 08 10:05:39 2017 +0200
+++ b/src/share/vm/jvmci/jvmciCompilerToVM.cpp	Tue Aug 08 10:06:50 2017 +0200
@@ -1336,7 +1336,7 @@
             initialSkip --;
           } else {
             ScopeDesc* scope = cvf->scope();
-            // native wrapper do not have a scope
+            // native wrappers do not have a scope
             if (scope != NULL && scope->objects() != NULL) {
               bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), scope->objects(), CHECK_NULL);
               Deoptimization::reassign_fields(fst.current(), fst.register_map(), scope->objects(), realloc_failures, false);
@@ -1459,7 +1459,7 @@
     THROW_MSG(vmSymbols::java_lang_NullPointerException(), "stack frame is null")
   }
 
-  HotSpotStackFrameReference::klass()->initialize(thread);
+  HotSpotStackFrameReference::klass()->initialize(CHECK);
 
   // look for the given stack frame
   StackFrameStream fst(thread);