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
--- 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()),