JDK-8233096 : Update javax.lang.model for switch expressions
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-10-29
  • Updated: 2019-11-23
  • Resolved: 2019-11-13
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 14
14 b24Fixed
Related Reports
Blocks :  
CSR :  
Description
After switch expressions are added as a full non-preview feature (JDK-8232684), portions of javax.lang.model should be updated accordingly, including the description of SourceVersion.RELEASE_14.

The isName/isIdentifier, etc. test cases for "var" should be replicated for "yield".

If it is not already updated, the javac-internal Source enum should be updated similarly.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/dc45ed0ab083 User: darcy Date: 2019-11-13 23:16:59 +0000
13-11-2019