< prev index next >

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

Print this page

        

@@ -56,10 +56,11 @@
                 { 54,   0,  Set.of() },                      // JDK 10
                 { 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
         };
     }
 
     // major, minor, modifiers for requires java.base
     @DataProvider(name = "unsupported")

@@ -87,11 +88,15 @@
 
                 { 58,   0,  Set.of(STATIC) },                // JDK 14
                 { 58,   0,  Set.of(TRANSITIVE) },
                 { 58,   0,  Set.of(STATIC, TRANSITIVE) },
 
-                { 59,   0,  Set.of()},                       // JDK 15
+                { 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) {
< prev index next >