--- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Wed Nov 13 18:00:30 2019 -0500
+++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Wed Nov 13 15:16:45 2019 -0800
@@ -58,9 +58,9 @@
* 9: modules, small cleanups to 1.7 and 1.8 changes
* 10: local-variable type inference (var)
* 11: local-variable syntax for lambda parameters
- * 12: no changes (switch expressions were in preview)
+ * 12: no changes (switch expressions in preview)
* 13: no changes (switch expressions and text blocks in preview)
- * 14: TBD
+ * 14: switch expressions
*/
/**
@@ -199,6 +199,8 @@
* The version recognized by the Java Platform, Standard Edition
* 14.
*
+ * Additions in this release include switch expressions.
+ *
* @since 14
*/
RELEASE_14;