--- old/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java 2019-11-12 15:15:08.625001000 -0800 +++ new/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java 2019-11-12 15:15:08.405001000 -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;