< prev index next >
langtools/test/tools/javac/file/MultiReleaseJar/MultiReleaseJarAwareSJFM.java
Print this page
@@ -21,11 +21,11 @@
* questions.
*/
/*
* @test
- * @bug 8149757
+ * @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,11 +162,11 @@
public Object[][] data() {
return new Object[][] {
{"", 8},
{"8", 8},
{"9", 9},
- {"runtime", jdk.Version.current().major()}
+ {"runtime", Runtime.version().major()}
};
}
@Test(dataProvider = "versions")
public void test(String version, int expected) throws Throwable {
< prev index next >