JDK-8321182 : SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-12-01
  • Updated: 2024-07-16
  • Resolved: 2023-12-01
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 JDK 21 JDK 22
17.0.13-oracleFixed 21.0.4-oracleFixed 22 b27Fixed
Related Reports
Relates :  
Description
The Versions test includes a source example for Java 14 switch expressions, but the comment incorrectly refers to 'text blocks'.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/525 Date: 2024-04-23 09:47:52 +0000
23-04-2024

[jdk21u-fix-request] Approval Request from Aleksey Shipilëv Follow-up for JDK-8309142. Affected test passes.
23-04-2024

Changeset: 2f299e4a Author: Eirik Bjorsnos <eirbjo@gmail.com> Committer: Joe Darcy <darcy@openjdk.org> Date: 2023-12-01 21:15:46 +0000 URL: https://git.openjdk.org/jdk/commit/2f299e4a732a945175a9d334d69fedafbe0ca25b
01-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16924 Date: 2023-12-01 15:21:37 +0000
01-12-2023