-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b26
-
Verified
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
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