src/hotspot/share/classfile/classFileParser.cpp
changeset 54557 4ff026ff9c98
parent 54347 235883996bc7
parent 54554 c171aa9e5d3e
child 54595 a61da18408c1
--- a/src/hotspot/share/classfile/classFileParser.cpp	Sun Apr 14 21:40:07 2019 +0000
+++ b/src/hotspot/share/classfile/classFileParser.cpp	Mon Apr 15 18:24:37 2019 -0700
@@ -5975,9 +5975,9 @@
   _minor_version = stream->get_u2_fast();
   _major_version = stream->get_u2_fast();
 
-  if (DumpSharedSpaces && _major_version < JAVA_1_5_VERSION) {
+  if (DumpSharedSpaces && _major_version < JAVA_6_VERSION) {
     ResourceMark rm;
-    warning("Pre JDK 1.5 class not supported by CDS: %u.%u %s",
+    warning("Pre JDK 6 class not supported by CDS: %u.%u %s",
             _major_version,  _minor_version, _class_name->as_C_string());
     Exceptions::fthrow(
       THREAD_AND_LOCATION,