[jdk11u] RFR: JDK-8302000: A subtle race condition during jdk11u build

Kumar Srinivasan ksrini at openjdk.org
Thu Feb 16 16:03:29 UTC 2023


This is primarily a back-port of various fixes made in the development branch., please refer to the JBS issue for details.

The major fix/back-port is to Spp.java, now it no longer uses stdin/stdout for its IO, instead uses File  IO. File IO is safer to use with 'makeology', whereby the use of macros can cause undesired and obscure side-effects with source generation using Spp.java.

The other changes are to the 'makeology' itself to use -i and -o options.

Tested builds on Linux and Windows running tier1 and tier2 tests.

-------------

Commit messages:
 - Merge branch 'openjdk:master' into master
 - JDK-8302000: A subtle race condition during jdk11u build

Changes: https://git.openjdk.org/jdk11u/pull/67/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u&pr=67&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8302000
  Stats: 41 lines in 10 files changed: 14 ins; 0 del; 27 mod
  Patch: https://git.openjdk.org/jdk11u/pull/67.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u pull/67/head:pull/67

PR: https://git.openjdk.org/jdk11u/pull/67


More information about the jdk-updates-dev mailing list