8030656: Bad version check for parameter information in src/share/vm/classfile/javaClasses.cpp
authordarcy
Thu, 26 Dec 2013 11:16:44 -0500
changeset 22186 c97a9d47d257
parent 22173 f130ca87de66
child 22202 f596f2e6c000
child 22206 dfbfc5483c3e
8030656: Bad version check for parameter information in src/share/vm/classfile/javaClasses.cpp Summary: Switched version check to check for greater than or equal to 8, not equal to 8 Reviewed-by: dholmes, kamg
hotspot/src/share/vm/classfile/javaClasses.cpp
--- a/hotspot/src/share/vm/classfile/javaClasses.cpp	Wed Jul 05 19:26:54 2017 +0200
+++ b/hotspot/src/share/vm/classfile/javaClasses.cpp	Thu Dec 26 11:16:44 2013 -0500
@@ -3286,7 +3286,7 @@
     sun_reflect_ConstantPool::compute_offsets();
     sun_reflect_UnsafeStaticFieldAccessorImpl::compute_offsets();
   }
-  if (JDK_Version::is_jdk18x_version())
+  if (JDK_Version::is_gte_jdk18x_version())
     java_lang_reflect_Parameter::compute_offsets();
 
   // generated interpreter code wants to know about the offsets we just computed: