[jdk11u-dev] Integrated: JDK-8302000: [11u] A subtle race condition during jdk11u build
Kumar Srinivasan
ksrini at openjdk.org
Fri Mar 3 18:01:29 UTC 2023
On Fri, 24 Feb 2023 17:04:39 GMT, Kumar Srinivasan <ksrini at openjdk.org> wrote:
> Hi,
>
> **This is to fix issue caused by:**
> JDK-8257679: Improved unix compatibility layer in Windows build (winenv)
> Please refer to JDK-8302000 for the evaluation of how the above causes the race condition.
>
> The changes below are in an effort to make the existing jdk11u source more robust and closer to the upstream code.
>
> **Initial Spp.java changes:**
> JDK-8215445: Enable building for Windows in WSL
> https://github.com/openjdk/jdk/compare/88b95f05706..46eb26b692a
>
> _Note: Too large to be back-ported, only changes for Spp.java associated build logic
> changes needs to be back-ported manually._
>
> **Required additional make logic adjustments required for Spp.java changes:**
> JDK-8218460: https://github.com/openjdk/jdk/compare/1fcbd0cd0dc..f380787a41e
>
> _Note: patch does not apply cleanly and all the changes have to be applied manually._
>
> **Optional, Spp.java Improvements:**
> JDK-8223347: Integration of Vector API (Incubator)
> https://github.com/openjdk/jdk/compare/386e7e8b733..0c99b192588
>
> _Note: Clearly the entire commit is totally inapplicable to jdk11u, since it is an Incubator feature,
> however small improvement to Spp.java can be back-ported manually, in an effort to bring jdk11u
> sources closer to upstream_
>
> If the above solutions are not acceptable, then I could add parenthesis to the ExecutWithLog call-sites, however
> this will further diverge the jdk11u code base from upstream.
>
> If none of the above solutions are acceptable then I recommend the jdk11u maintainers assign JDK-8302000 to
> the author of JDK-8257679 and have them remove the ExecuteWithLog additions.
>
> I personally have tested the fix using tier1 and tier2 regression testing on both Windows and Linux.
This pull request has now been integrated.
Changeset: 915ac570
Author: Kumar Srinivasan <ksrini at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/915ac570b54aa820adf474ab5046e17007601f4e
Stats: 68 lines in 10 files changed: 32 ins; 1 del; 35 mod
8302000: [11u] A subtle race condition during jdk11u build
8218460: Test generation scripts do not invoke stream preprocessor correctly
Reviewed-by: clanger
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1774
More information about the jdk-updates-dev
mailing list