jlink fails with "Hash of java.xyz differs to expected hash recorded in java.base"

Sebastian Stenzel sebastian.stenzel at gmail.com
Tue Mar 31 07:18:24 UTC 2020


Hi all,

not sure if this is the right mailing list to ask about this, but I found some previous mails in the archive that suggested it.

I noticed that whenever I use OpenJDK 11 - 14 on Ubuntu from the distro's official package repo, jlink always fails with messages like these:

    Hash of java.xml (c043b4c28b897656e2a4d36c92ba2f5d52134bce79643236dd36295e14178be7) differs to expected hash (4e7db7fc941d9f316c4aafe02717b5809ee722be8433d283050365e7fd49331f) recorded in java.base

Using adoptopenjdk, it works just fine. So I believe there is something wrong with Ubuntu's OpenJDK package, however I can hardly tell what they did wrong, since I don't understand what exactly jlink hashes and where the expected hashes are stored.

Can anyone shed some light on what is happening here?

Thanks!
Sebastian 


More information about the jigsaw-dev mailing list