hotspot/src/share/vm/oops/constantPool.hpp
changeset 27677 b1997f2f1b56
parent 27408 9a8090dd6ec3
child 28741 1f10b1bd612d
--- a/hotspot/src/share/vm/oops/constantPool.hpp	Mon Oct 27 17:24:10 2014 -0400
+++ b/hotspot/src/share/vm/oops/constantPool.hpp	Wed Nov 12 13:55:59 2014 +0100
@@ -336,13 +336,13 @@
 
   Klass* klass_at(int which, TRAPS) {
     constantPoolHandle h_this(THREAD, this);
-    return klass_at_impl(h_this, which, true, CHECK_NULL);
+    return klass_at_impl(h_this, which, true, THREAD);
   }
 
   // Version of klass_at that doesn't save the resolution error, called during deopt
   Klass* klass_at_ignore_error(int which, TRAPS) {
     constantPoolHandle h_this(THREAD, this);
-    return klass_at_impl(h_this, which, false, CHECK_NULL);
+    return klass_at_impl(h_this, which, false, THREAD);
   }
 
   Symbol* klass_name_at(int which);  // Returns the name, w/o resolving.