< prev index next >
test/jdk/java/lang/module/ClassFileVersionsTest.java
Print this page
*** 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")
--- 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
! { 56, 0, Set.of() }, // JDK 12
};
}
// major, minor, modifiers for requires java.base
@DataProvider(name = "unsupported")
*** 73,83 ****
{ 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) {
--- 73,87 ----
{ 55, 0, Set.of(STATIC) }, // JDK 11
{ 55, 0, Set.of(TRANSITIVE) },
{ 55, 0, Set.of(STATIC, TRANSITIVE) },
! { 56, 0, Set.of(STATIC) }, // JDK 12
! { 56, 0, Set.of(TRANSITIVE) },
! { 56, 0, Set.of(STATIC, TRANSITIVE) },
!
! { 57, 0, Set.of()}, // JDK 13
};
}
@Test(dataProvider = "supported")
public void testSupported(int major, int minor, Set<Modifier> ms) {
< prev index next >