Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8214829

Update preview language features for start of JDK 13

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • None
    • tools
    • None
    • minimal
    • Language construct
    • SE

      Summary

      Continue having expression switch and raw string literals as preview language features for the start of JDK 13.

      Problem

      Per JEP 12 "Preview Language and VM Features" (JDK-8195734), preview language features are only available in the most recent release. JDK 12 has two preview language features switch expressions and raw string literals. Neither feature would be available in JDK 13 unless they are promoted to full language feature or continue in their preview status.

      Solution

      Continue the preview status of expression switch and raw string literals for the start of JDK 13.

      This does not preclude additional change in status of those feature later in JDK 13, including removal from the release or graduation to a full language feature.

      Specification

      Continue preview status for expression switch and raw string literals.

            darcy Joe Darcy
            darcy Joe Darcy
            Alex Buckley, Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: