hotspot/src/share/vm/interpreter/linkResolver.cpp
changeset 25057 f38210f84f8c
parent 24456 8c7933fa5a1f
child 27020 a7c8010446c2
--- a/hotspot/src/share/vm/interpreter/linkResolver.cpp	Wed Jun 11 12:09:12 2014 +0200
+++ b/hotspot/src/share/vm/interpreter/linkResolver.cpp	Wed Jun 11 09:58:23 2014 -0400
@@ -945,12 +945,8 @@
     Klass *klass_to_check = !InstanceKlass::cast(current_klass())->is_anonymous() ?
                                   current_klass() :
                                   InstanceKlass::cast(current_klass())->host_klass();
-    // As of the fix for 4486457 we disable verification for all of the
-    // dynamically-generated bytecodes associated with the 1.4
-    // reflection implementation, not just those associated with
-    // sun/reflect/SerializationConstructorAccessor.
-    bool is_reflect = JDK_Version::is_gte_jdk14x_version() &&
-                      klass_to_check->is_subclass_of(
+    // Disable verification for the dynamically-generated reflection bytecodes.
+    bool is_reflect = klass_to_check->is_subclass_of(
                         SystemDictionary::reflect_MagicAccessorImpl_klass());
 
     if (!is_reflect &&