Skip to content
Permalink
Browse files
8267861: Update SourceVersion with new language features in 16 and 17
Reviewed-by: jjg
  • Loading branch information
jddarcy committed Jun 2, 2021
1 parent cb7128b commit 00c7aeee005f08689d0647b460eb55b6a5385f72
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
@@ -221,6 +221,9 @@
* The version recognized by the Java Platform, Standard Edition
* 16.
*
* Additions in this release include pattern matching for {@code
* instanceof} and records.
*
* @since 16
*/
RELEASE_16,
@@ -229,6 +232,9 @@
* The version recognized by the Java Platform, Standard Edition
* 17.
*
* Additions in this release include sealed classes and
* restoration of always-strict floating-point semantics.
*
* @since 17
*/
RELEASE_17;

1 comment on commit 00c7aee

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 00c7aee Jun 2, 2021

Please sign in to comment.