hotspot/src/share/vm/interpreter/linkResolver.cpp
changeset 24456 8c7933fa5a1f
parent 24424 2658d7834c6e
child 25057 f38210f84f8c
equal deleted inserted replaced
24455:79b5204317a2 24456:8c7933fa5a1f
   948     // As of the fix for 4486457 we disable verification for all of the
   948     // As of the fix for 4486457 we disable verification for all of the
   949     // dynamically-generated bytecodes associated with the 1.4
   949     // dynamically-generated bytecodes associated with the 1.4
   950     // reflection implementation, not just those associated with
   950     // reflection implementation, not just those associated with
   951     // sun/reflect/SerializationConstructorAccessor.
   951     // sun/reflect/SerializationConstructorAccessor.
   952     bool is_reflect = JDK_Version::is_gte_jdk14x_version() &&
   952     bool is_reflect = JDK_Version::is_gte_jdk14x_version() &&
   953                       UseNewReflection &&
       
   954                       klass_to_check->is_subclass_of(
   953                       klass_to_check->is_subclass_of(
   955                         SystemDictionary::reflect_MagicAccessorImpl_klass());
   954                         SystemDictionary::reflect_MagicAccessorImpl_klass());
   956 
   955 
   957     if (!is_reflect &&
   956     if (!is_reflect &&
   958         !InstanceKlass::cast(klass_to_check)->is_same_or_direct_interface(resolved_klass())) {
   957         !InstanceKlass::cast(klass_to_check)->is_same_or_direct_interface(resolved_klass())) {