mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8298142: Update internal comment on language features in SourceVersion
Reviewed-by: sundar, jlahoda
This commit is contained in:
parent
203251ffc0
commit
0d2a9ee528
@ -69,6 +69,8 @@ public enum SourceVersion {
|
||||
* 18: no changes (pattern matching for switch in second preview)
|
||||
* 19: no changes (pattern matching for switch in third preview,
|
||||
* record patterns in preview)
|
||||
* 20: no changes (pattern matching for switch in fourth preview,
|
||||
* record patterns in second preview)
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -362,6 +364,8 @@ public enum SourceVersion {
|
||||
* The version recognized by the Java Platform, Standard Edition
|
||||
* 20.
|
||||
*
|
||||
* No major changes from the prior release.
|
||||
*
|
||||
* @since 20
|
||||
*
|
||||
* @see <a
|
||||
|
||||
@ -105,27 +105,27 @@ public enum Source {
|
||||
JDK15("15"),
|
||||
|
||||
/**
|
||||
* 16, tbd
|
||||
* 16, records and pattern matching for instanceof
|
||||
*/
|
||||
JDK16("16"),
|
||||
|
||||
/**
|
||||
* 17, tbd
|
||||
* 17, sealed classes, restoration of always-strict floating-point
|
||||
*/
|
||||
JDK17("17"),
|
||||
|
||||
/**
|
||||
* 18, tbd
|
||||
* 18, no major changes
|
||||
*/
|
||||
JDK18("18"),
|
||||
|
||||
/**
|
||||
* 19, tbd
|
||||
* 19, no major changes
|
||||
*/
|
||||
JDK19("19"),
|
||||
|
||||
/**
|
||||
* 20, tbd
|
||||
* 20, no major changes
|
||||
*/
|
||||
JDK20("20");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user