XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 9
    • tools
    • minimal
    • New JDK 9 option
    • add/remove/modify command line option
    • JDK

      Summary

      Add java --dry-run

      Problem

      There are many new options for configuration where modules are loaded and the set of modules that should be resolved at startup. It has been proposed that we have some way to invoke java and exit after VM is initialized.

      This CCC proposes to add java --dry-run option.

      See CCC-8136930 for the proposal to move the new JDK 9 options to full GNU-style options.

      Solution

      Add java --dry-run option. This option causes the launcher to stop short of running the main method. It will load the VM and also locates and loads the main class. It will report any error detected by the VM or module system initialization.

      Specification

      New java launcher option
      
          --dry-run
                        create VM but do not execute main method

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Alan Bateman, Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: