[jdk11u-dev] RFR: 8217527: jmod hash does not work if --hash-module does not include the target module [v2]
Daniel Hu
duke at openjdk.org
Sat May 31 16:41:21 UTC 2025
> I'd like to backport this fix because currently `jmod hash` command does not work on already created modules and this fixes that issue. This isn't intended behavior; nothing in Oracle documentation states this limitation, and moreover the command itself gives opaque response: there's no error message or non-zero exit, instead the command does nothing and no modules are changed after hashing.
>
> The backport isn't clean because of conflicts in `HashesTest.java`. The conflicts are due to later commits being backported first; resolution was simple as all the jdk11u-dev master was kept. This change was ran on internal Amazon pipelines and passes jtreg tier1-4 + tck tests on the following platforms: linux x64, aarch64, x86, aarch32; macos x64, aarch64; windows x64, x86.
Daniel Hu has updated the pull request incrementally with one additional commit since the last revision:
Add missing testHashModulesPattern
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/3039/files
- new: https://git.openjdk.org/jdk11u-dev/pull/3039/files/ac451251..898868e8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3039&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3039&range=00-01
Stats: 43 lines in 1 file changed: 42 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3039.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3039/head:pull/3039
PR: https://git.openjdk.org/jdk11u-dev/pull/3039
More information about the jdk-updates-dev
mailing list