OpenJDK / jdk / jdk
changeset 59318:179d3a7a5d10
8245146: Update description of SourceVersion.RELEASE_15 with text blocks
Reviewed-by: jlaskey
author | darcy |
---|---|
date | Sun, 17 May 2020 11:34:32 -0700 |
parents | 212f5084ac72 |
children | d652d9aaf286 |
files | src/java.compiler/share/classes/javax/lang/model/SourceVersion.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Sun May 17 11:09:52 2020 -0400 +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Sun May 17 11:34:32 2020 -0700 @@ -62,7 +62,7 @@ * 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 @@ * The version recognized by the Java Platform, Standard Edition * 15. * + * Additions in this release include text blocks. + * * @since 15 */ RELEASE_15;