equal
deleted
inserted
replaced
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())) { |