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

jlink should not leave partial image output directory on failure

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • Verification:
      Verified

      Description

      A DESCRIPTION OF THE PROBLEM :
      When using the jlink option --vm with a VM which does not exist in the installation, jlink does not fail fast but instead starts creating some folders and then fails.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Download the JDK from https://jdk.java.net/13/
      2. `jlink --add-modules java.base --vm=client --output jlink-test`

      -> Error: Selected VM client doesn't exist.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should fail fast, i.e. the output folder `jlink-test` should not have been created
      ACTUAL -
      It fails at some point after already having started; the folder `jlink-test` has been created

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: