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

Add launcher support for preview features

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      With the new proposal the launcher boolean flag "--enable-preview" is passed as-is to
      the VM as it stands now for example:

      % _JAVA_LAUNCHER_DEBUG=true java --enable-preview --help

      <lots of debugging traces deleted for clarity>
      JavaVM args:
          version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 4
          option[ 0] = '-Dsun.java.launcher.diag=true'
          option[ 1] = '--enable-preview'
          option[ 2] = '-Dsun.java.launcher=SUN_STANDARD'
          option[ 3] = '-Dsun.java.launcher.pid=21039'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                ksrini Kumar Srinivasan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: