8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11
authordholmes
Sun, 04 Feb 2018 21:00:19 -0500
changeset 48741 d682d3da7923
parent 48740 7d5826282e8d
child 48742 364944ba4e2f
8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11 Reviewed-by: alanb, iklam, ccheung
test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java
--- a/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java	Sat Feb 03 21:12:37 2018 -0800
+++ b/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java	Sun Feb 04 21:00:19 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -41,8 +41,8 @@
 
 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 = {