8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java

Reviewed-by: dholmes
This commit is contained in:
Calvin Cheung 2018-05-17 08:41:01 -07:00
parent fbbbc35d32
commit e8cf273121

View File

@ -41,7 +41,7 @@ import jdk.test.lib.process.OutputAnalyzer;
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() {