RFR: JDK-8174172: Race when building java.base.jmod
Alan Bateman
Alan.Bateman at oracle.com
Wed Feb 8 11:39:13 UTC 2017
On 08/02/2017 11:33, Erik Joelsson wrote:
> When building java.base.jmod, we use --hash-modules to include hashes
> of all the non upgradeable jmods in java.base.jmod. The make
> dependencies are setup to make sure all non upgradeable jmods are
> built before java.base.jmod. In some cases, this risks failing because
> we have a non upgradeable module which depends on an upgradeable
> module. If this upgradeable module is not available to the jmod tool,
> it will fail.
>
> The solution is to add all jmods as prerequisites to building
> java.base.jmod instead of just the non upgradeable ones.
This looks okay although ideally we should not have non upgradeable
modules depending on upgradeable modules.
-Alan.
More information about the build-dev
mailing list