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

Add launcher support for preview features

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      binary, behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      This is a new option of the java launcher and does not pose a compatibility risk.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      Summary

      Update the java launcher to support the use of "preview" features.

      Problem

      JEP 12 [1] describes JDK support for "preview" language and VM features.The launcher should support this as a documented flag.

      Solution

      The launcher will support the flag "--enable-preview" and make it available to the Java Virtual Machine, and advertise it via its help/man pages.

      Specification

      New option: --enable-preview allow classes to depend on preview features of this release.


      [1] http://openjdk.java.net/jeps/12

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ksrini Kumar Srinivasan
              Reporter:
              ksrini Kumar Srinivasan
              Reviewed By:
              Alex Buckley, Jonathan Gibbons, Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: