JDK-8308093 : Disable language preview features use in JDK
  • Type: Bug
  • Component: core-libs
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-05-15
  • Updated: 2023-07-24
  • Resolved: 2023-05-23
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 21
21 b24Fixed
Related Reports
Blocks :  
Relates :  
Description
Language preview features have been temporary enabled with JDK-8294982 to allow Pattern Matching for switch use in the Classfile API library.

Use of language preview features in JDK should be disabled as soon as the Pattern Matching for switch became final feature.

Comments
Verified in ATR JDK21 b26.
24-07-2023

Changeset: c4408278 Author: Adam Sotona <asotona@openjdk.org> Date: 2023-05-23 07:23:37 +0000 URL: https://git.openjdk.org/jdk/commit/c4408278d1012746c91ba4c31068538850c68d30
23-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14076 Date: 2023-05-22 10:01:55 +0000
22-05-2023