8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp
authorhseigel
Tue, 30 Dec 2014 12:59:20 -0500
changeset 28371 92e60e58ba8b
parent 28370 7b21ed8edcd9
child 28372 ce0aad4b8c44
child 28377 008dc727cf75
8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp Summary: use correct CHECK macro in call to load_class() Reviewed-by: coleenp, lfoltan, gziemski
hotspot/src/share/vm/classfile/verifier.cpp
--- a/hotspot/src/share/vm/classfile/verifier.cpp	Sat Dec 27 13:26:41 2014 -0500
+++ b/hotspot/src/share/vm/classfile/verifier.cpp	Tue Dec 30 12:59:20 2014 -0500
@@ -2477,8 +2477,7 @@
     // of the current class.
     VerificationType objectref_type = new_class_type;
     if (name_in_supers(ref_class_type.name(), current_class())) {
-      Klass* ref_klass = load_class(
-        ref_class_type.name(), CHECK_VERIFY(this));
+      Klass* ref_klass = load_class(ref_class_type.name(), CHECK);
       Method* m = InstanceKlass::cast(ref_klass)->uncached_lookup_method(
         vmSymbols::object_initializer_name(),
         cp->signature_ref_at(bcs->get_index_u2()),