hotspot/src/share/vm/runtime/reflection.cpp
changeset 27685 26a697375de3
parent 27613 f4773c0d8717
parent 27680 8ecc0871c18e
child 29081 c61eb4914428
--- a/hotspot/src/share/vm/runtime/reflection.cpp	Thu Nov 13 16:11:00 2014 -0800
+++ b/hotspot/src/share/vm/runtime/reflection.cpp	Mon Nov 17 21:32:32 2014 +0100
@@ -635,7 +635,7 @@
 }
 
 objArrayHandle Reflection::get_exception_types(methodHandle method, TRAPS) {
-  return method->resolved_checked_exceptions(CHECK_(objArrayHandle()));
+  return method->resolved_checked_exceptions(THREAD);
 }
 
 
@@ -1003,7 +1003,7 @@
   } else {
     if (rtype == T_BOOLEAN || rtype == T_BYTE || rtype == T_CHAR || rtype == T_SHORT)
       narrow((jvalue*) result.get_value_addr(), rtype, CHECK_NULL);
-    return box((jvalue*) result.get_value_addr(), rtype, CHECK_NULL);
+    return box((jvalue*) result.get_value_addr(), rtype, THREAD);
   }
 }