src/hotspot/share/prims/jvmtiExport.cpp
changeset 50735 2f2af62dfac7
parent 50578 e2a7f431f65c
child 51467 12997ebbc0d8
--- a/src/hotspot/share/prims/jvmtiExport.cpp	Fri Jun 22 17:49:21 2018 -0700
+++ b/src/hotspot/share/prims/jvmtiExport.cpp	Sat Jun 23 01:32:41 2018 -0400
@@ -370,6 +370,14 @@
           return JNI_EVERSION;  // unsupported minor version number
       }
       break;
+    case 11:
+      switch (minor) {
+        case 0:  // version 11.0.<micro> is recognized
+          break;
+        default:
+          return JNI_EVERSION;  // unsupported minor version number
+      }
+      break;
     default:
       return JNI_EVERSION;  // unsupported major version number
   }