< prev index next >

src/java.compiler/share/classes/javax/lang/model/SourceVersion.java

Print this page

        

@@ -61,10 +61,16 @@
      *  12: no changes (switch expressions were in preview)
      *  13: no changes (switch expressions and text blocks in preview)
      *  14: TBD
      */
 
+    // TOOD: The textual specs of isIdentifier, isName, and isKeyword
+    // may or may not need to be explicitly updated for "record" and
+    // "sealed" depending on how those tokens are formally handled in
+    // the JLS. If they are treated as restricted keywords, a spec
+    // update may not be strictly needed.
+
     /**
      * The original version.
      *
      * The language described in
      * <cite>The Java&trade; Language Specification, First Edition</cite>.
< prev index next >