changeset 7621:f76c91840463

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
author hseigel
date Tue, 30 Dec 2014 12:59:20 -0500
parents 469d59865f55
children fee07a43d038 63c9de418926
files src/share/vm/classfile/verifier.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/verifier.cpp	Sat Dec 27 13:26:41 2014 -0500
+++ b/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()),