< prev index next >

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

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

@@ -52,10 +52,12 @@
                 { 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,11 +69,15 @@
 
                 { 54,   0,  Set.of(STATIC) },                // JDK 10
                 { 54,   0,  Set.of(TRANSITIVE) },
                 { 54,   0,  Set.of(STATIC, TRANSITIVE) },
 
-                { 55,   0,  Set.of()},                       // JDK 11
+                { 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 >