JDK-8277512 : Add SourceVersion.RELEASE_19
  • Type: CSR
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 19
  • Submitted: 2021-11-22
  • Updated: 2022-05-03
  • Resolved: 2021-12-09
Related Reports
CSR :  
Relates :  
Description
Summary
-------

Add a new enum constant `RELEASE_19` to `javax.lang.model.SourceVersion` for the JDK 19 release and update the FooVisitor14 visitors to cover release 19 as well.

Problem
-------

The `SourceVersion` enum needs an enum constant for each release being modeled.

Solution
--------

Append the enum constant `RELEASE_19` and update the visitor text and supported source version annotations to cover from RELEASE_14 to RELEASE_19.

Specification
-------------


Comments
Moving to Approved.
09-12-2021