< prev index next >

test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -39,12 +39,12 @@
 import java.io.IOException;
 import jdk.test.lib.process.OutputAnalyzer;
 
 public class MultiReleaseJars {
 
-    static final int MAJOR_VERSION = Runtime.version().major();
-    static final String MAJOR_VERSION_STRING = String.valueOf(Runtime.version().major());
+    static final int MAJOR_VERSION = 10; // Runtime.version().major();
+    static final String MAJOR_VERSION_STRING = String.valueOf(MAJOR_VERSION);
 
     static String[] getMain() {
         String[] sts = {
             "package version;",
             "public class Main {",
< prev index next >