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
--- 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: