< prev index next >

test/langtools/jdk/jshell/CompletenessTest.java

Print this page

        

@@ -120,10 +120,12 @@
         "List<? extends Object> l",
         "int[] m = {1, 2}",
         "int[] m = {1, 2}, n = null",
         "int[] m = {1, 2}, n",
         "int[] m = {1, 2}, n = {3, 4}",
+        "record D(int i)",
+        "static record D(int i)"
     };
 
     static final String[] considered_incomplete = new String[] {
         "if (t)",
         "if (t) { } else",
< prev index next >