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

Add launcher support for preview features

XMLWordPrintable

    • b11
    • generic
    • generic
    • Not verified

      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'

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

              Created:
              Updated:
              Resolved: