changeset 5727:d8d1b22b1809

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
author darcy
date Thu, 26 Dec 2013 11:16:44 -0500
parents 050a626a8895
children e9d5e8a38ae3 9982f3b7527b
files src/share/vm/classfile/javaClasses.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/javaClasses.cpp	Fri Dec 13 09:35:12 2013 -0800
+++ b/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: