< prev index next >

langtools/test/tools/javac/file/MultiReleaseJar/MultiReleaseJarAwareSJFM.java

Print this page

        

*** 21,31 **** * questions. */ /* * @test ! * @bug 8149757 * @summary Test that StandardJavaFileManager uses the correct version of a * class from a multi-release jar on classpath * @library /tools/lib * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.main --- 21,31 ---- * questions. */ /* * @test ! * @bug 8149757 8144062 * @summary Test that StandardJavaFileManager uses the correct version of a * class from a multi-release jar on classpath * @library /tools/lib * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.main
*** 162,172 **** public Object[][] data() { return new Object[][] { {"", 8}, {"8", 8}, {"9", 9}, ! {"runtime", jdk.Version.current().major()} }; } @Test(dataProvider = "versions") public void test(String version, int expected) throws Throwable { --- 162,172 ---- public Object[][] data() { return new Object[][] { {"", 8}, {"8", 8}, {"9", 9}, ! {"runtime", Runtime.version().major()} }; } @Test(dataProvider = "versions") public void test(String version, int expected) throws Throwable {
< prev index next >