JDK-8267861 : Update SourceVersion with new language features in 16 and 17
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-05-27
  • Updated: 2022-04-18
  • Resolved: 2021-06-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b25Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The enum constants for releases 16 and 17 should be updated to include the language changes made in those releases. Changes for 16 include

JEP 394: Pattern Matching for instanceof
JEP 395: Records

and changes for 17 include

JEP 409: Sealed Classes
JEP 306: Restore Always-Strict Floating-Point Semantics



Comments
Changeset: 00c7aeee Author: Joe Darcy <darcy@openjdk.org> Date: 2021-06-02 00:33:17 +0000 URL: https://git.openjdk.java.net/jdk/commit/00c7aeee005f08689d0647b460eb55b6a5385f72
02-06-2021