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

Add launcher support for preview features

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 11
    • tools
    • None
    • binary, behavioral
    • minimal
    • This is a new option of the java launcher and does not pose a compatibility risk.
    • add/remove/modify command line option
    • JDK

      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

            ksrini Kumar Srinivasan
            ksrini Kumar Srinivasan
            Alex Buckley, Jonathan Gibbons, Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: