On Mon, 14 Aug 2023 22:18:56 GMT, Erik Joelsson <er...@openjdk.org> wrote:
> This is a redo of [pull/14561](https://git.openjdk.org/jdk/pull/14561). The > change relaxes the prerequisites for the top level java.base-jmod target to > not include targets for jmods of upgradable modules. > > The problem with the previous fix was that jdk.jdeps, which is a non > upgradable module, depends on java.compiler, which is an upgradable module. > The jmod tool wants to resolve the complete module graph given to the > `--hash-modules` option and this failed with: > > Error: Resolution failed: Module java.compiler not found, required by > jdk.jdeps > > The fix is to modify the prerequisite list for the java.base-jmod target to > include the jmod targets of the transitive deps of all the non upgradable > modules. This pull request has now been integrated. Changeset: b33ff30d Author: Erik Joelsson <er...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b33ff30d7092893463d8c25ec277d10f3c4fda19 Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod 8313661: [REDO] Relax prerequisites for java.base-jmod target Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/15279