Add launcher support for preview features

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P3
    • 11
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: