< prev index next >
test/jdk/java/lang/module/ClassFileVersionsTest.java
Print this page
*** 57,66 ****
--- 57,67 ----
{ 55, 0, Set.of() }, // JDK 11
{ 56, 0, Set.of() }, // JDK 12
{ 57, 0, Set.of() }, // JDK 13
{ 58, 0, Set.of() }, // JDK 14
{ 59, 0, Set.of() }, // JDK 15
+ { 60, 0, Set.of() }, // JDK 16
};
}
// major, minor, modifiers for requires java.base
@DataProvider(name = "unsupported")
*** 92,102 ****
{ 59, 0, Set.of(STATIC) }, // JDK 15
{ 59, 0, Set.of(TRANSITIVE) },
{ 59, 0, Set.of(STATIC, TRANSITIVE) },
! { 60, 0, Set.of()}, // JDK 16
};
}
@Test(dataProvider = "supported")
public void testSupported(int major, int minor, Set<Modifier> ms) {
--- 93,107 ----
{ 59, 0, Set.of(STATIC) }, // JDK 15
{ 59, 0, Set.of(TRANSITIVE) },
{ 59, 0, Set.of(STATIC, TRANSITIVE) },
! { 60, 0, Set.of(STATIC) }, // JDK 16
! { 60, 0, Set.of(TRANSITIVE) },
! { 60, 0, Set.of(STATIC, TRANSITIVE) },
!
! { 61, 0, Set.of()}, // JDK 17
};
}
@Test(dataProvider = "supported")
public void testSupported(int major, int minor, Set<Modifier> ms) {
< prev index next >