jlink fails due to unexpected hash of java.* modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-14 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Focal Fossa (development branch)
Linux 4.4.0-176-generic
openjdk-
It appears that jlink fails to create runtime images. I expected the command mentioned below to succeed (exit code 0).
Instead it fails (exit code 1) with the following error message:
> Error: Hash of java.rmi (91a6fed418dc8e
When I remove java.rmi from my list of modules, it fails for a different module instead. I suspect that the hashes for all modules might be wrong.
To reproduce this, run (optionally try some other modules):
/usr/lib/
--output myRuntimeImage \
--no-header-files \
--no-man-pages \
--strip-debug \
--compress=2 \
--verbose \
--add-modules java.base,
Status changed to 'Confirmed' because the bug affects multiple users.