I just ran into a similar problem: jlink --add-modules java.desktop --output test
fails with this message: Error: Hash of java.xml (19574d688f234255aab0ff4ff8e88ae8190ecd7c8d2c422fbdb31cc10963b383) differs to expected hash (4473ef1f3d229791111bd9136b21a520907553e3874435d88321999370312f1a) recorded in java.base jlink --add-modules java.base --output test works as expected. jlink --add-modules java.base,java.desktop --output test fails as well. jlink --add-modules jdk.httpserver -output test fails too, but this time the hash message complains about jdk.httpserver. java -version reports: openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing) I'm running Pop OS 20.04 on a System-76 Thelio with a 64 bit AMD processor (but I don't see why this bug would be system dependent). It pretty much stops the use of jlink except in the most trivial case. Bill On Mon, 13 Jul 2020 20:24:29 -0700 tmanc...@debian.org wrote: > On Tue, Apr 07, 2020 at 09:40:52AM +0200, masar wrote: > > > > Hi, > > > > the bug is still present in > > > > openjdk-11-jdk 11.0.7+9-1 > > Hi Maurizio, > > In your initial bug report you said that you have a reproducible test > case with docker. Would you mind sharing that with me? > > FWIW, I happened to notice a similar bug reported against AdoptOpenJDK > builds (https://github.com/AdoptOpenJDK/openjdk-build/issues/1214) that > makes we wonder if there a common root cause, perhaps in the toolchains > used by both projects to build OpenJDK. > > Thank you, > tony