jlink fails due to unexpected hash of java.* modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-lts (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Basically the same bug as I reported earlier in https:/
/usr/lib/
> --output myRuntimeImage \
> --no-header-files \
> --no-man-pages \
> --strip-debug \
> --compress=2 \
> --verbose \
> --add-modules java.base,
Error: Hash of java.rmi (ccefd4d0a51f66
I'm not sure, if bugs on the openjdk-14 package are even seen by anyone, so I decided to re-report this here.
This build of OpenJDK tampers with the jmods without fixing the hashes, making the new packaging tools useless for PPAs.
I also asked in the openjdk mailing list and they suggested that this is probably caused by patches applied by Ubuntu's builds https:/ /mail.openjdk. java.net/ pipermail/ jigsaw- dev/2020- March/014398. html