Closed
Description
jlink
doesn't work in 20.3.0. But seems to work in the latest dev build.
Steps to reproduce the issue
Invoke jlink
. Observe the output.
Expected
Error: --output must be specified
Usage: jlink --module-path --add-modules [,...]
Use --help for a list of possible options
Actual
Error: java.io.IOException: Invalid JMOD file: /Users/yuri/.sdkman/candidates/java/20.3.0.r11-grl/jmods/jdk.jartool.jmod
Describe GraalVM and your environment:
- GraalVM version: 20.3.0
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06, mixed mode, sharing) - JDK major version: 11.
- OS: macOS Catalina 10.15.6.
- Architecture: AMD64.
More details
- On macOS JDKs were installed using
sdkman
. - Also reproducible in Windows 2012 (installing via
choco install -y graalvm --version 20.3.0
). - Doesn't seem to be reproducible in v20.0.0 and v20.2.0.
- Doesn't seem to be reproducible in
graalvm-ce-java11-21.1.0-dev
.