changeset 50166:1d683e243d8d

8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java Reviewed-by: dholmes
author ccheung
date Thu, 17 May 2018 08:41:01 -0700
parents 86f038c25410
children cc705c956798
files test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java	Thu May 17 12:08:32 2018 +0200
+++ b/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java	Thu May 17 08:41:01 2018 -0700
@@ -41,7 +41,7 @@
 
 public class MultiReleaseJars {
 
-    static final int MAJOR_VERSION = 10; // Runtime.version().major();
+    static final int MAJOR_VERSION = Runtime.version().major();
     static final String MAJOR_VERSION_STRING = String.valueOf(MAJOR_VERSION);
 
     static String[] getMain() {