8245146: Update description of SourceVersion.RELEASE_15 with text blocks

Reviewed-by: jlaskey
This commit is contained in:
Joe Darcy 2020-05-17 11:34:32 -07:00
parent 9efdaacc31
commit 42bad03de8

View File

@ -62,7 +62,7 @@ public enum SourceVersion {
* 13: no changes (switch expressions and text blocks in preview)
* 14: switch expressions (pattern matching and records in
* preview, text blocks in preview again)
* 15: TBD
* 15: text blocks (records and pattern matching in preview again)
*/
/**
@ -211,6 +211,8 @@ public enum SourceVersion {
* The version recognized by the Java Platform, Standard Edition
* 15.
*
* Additions in this release include text blocks.
*
* @since 15
*/
RELEASE_15;