< prev index next >

test/jdk/java/lang/module/ClassFileVersionsTest.java

Print this page
rev 48343 : imported patch JDK-8173382-classfile-version

*** 52,61 **** --- 52,63 ---- { 53, 0, Set.of(STATIC) }, { 53, 0, Set.of(TRANSITIVE) }, { 53, 0, Set.of(STATIC, TRANSITIVE) }, { 54, 0, Set.of() }, // JDK 10 + + { 55, 0, Set.of()}, // JDK 11 }; } // major, minor, modifiers for requires java.base @DataProvider(name = "unsupported")
*** 67,77 **** { 54, 0, Set.of(STATIC) }, // JDK 10 { 54, 0, Set.of(TRANSITIVE) }, { 54, 0, Set.of(STATIC, TRANSITIVE) }, ! { 55, 0, Set.of()}, // JDK 11 }; } @Test(dataProvider = "supported") public void testSupported(int major, int minor, Set<Modifier> ms) { --- 69,83 ---- { 54, 0, Set.of(STATIC) }, // JDK 10 { 54, 0, Set.of(TRANSITIVE) }, { 54, 0, Set.of(STATIC, TRANSITIVE) }, ! { 55, 0, Set.of(STATIC) }, // JDK 11 ! { 55, 0, Set.of(TRANSITIVE) }, ! { 55, 0, Set.of(STATIC, TRANSITIVE) }, ! ! { 56, 0, Set.of()}, // JDK 12 }; } @Test(dataProvider = "supported") public void testSupported(int major, int minor, Set<Modifier> ms) {
< prev index next >