< prev index next >

test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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.

@@ -21,11 +21,11 @@
  * questions.
  */
 
 /*
  * @test
- * @bug 8132734 8144062 8165723
+ * @bug 8132734 8144062 8165723 8194070
  * @summary Test the extended API and the aliasing additions in JarFile that
  *          support multi-release jar files
  * @library /lib/testlibrary/java/util/jar /test/lib
  * @build jdk.test.lib.RandomFactory
  *        Compiler JarBuilder CreateMultiReleaseTestJars

@@ -150,15 +150,16 @@
 
     @DataProvider(name = "versions")
     public Object[][] createVersionData() throws Exception {
         return new Object[][]{
                 {JarFile.baseVersion(), 8},
-                {JarFile.runtimeVersion(), Runtime.version().major()},
-                {Runtime.version(), Runtime.version().major()},
+                // {JarFile.runtimeVersion(), Runtime.version().major()},
+                // {Runtime.version(), Runtime.version().major()},
                 {Runtime.Version.parse("7.1"), JarFile.baseVersion().major()},
                 {Runtime.Version.parse("9"), 9},
-                {Runtime.Version.parse("9.1.5-ea+200"), 9}
+                {Runtime.Version.parse("9.1.5-ea+200"), 9},
+                {Runtime.Version.parse("10"), 10},
         };
     }
 
     @Test(dataProvider="versions")
     public void testVersioning(Runtime.Version value, int xpected) throws Exception {
< prev index next >