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

Kumar Srinivasan ksrini at openjdk.org
Sun Feb 19 02:56:12 UTC 2023


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

Spp.java,  no longer uses stdin/stdout for IO. Now sses File IO, which is safer to use with makefile logging, whereby the use of macros can cause undesired and obscure side-effects with source generation using Spp.java.

Other changes are to the make logic itself to use the new -i and -o options.

[![OpenJDK GHA Sanity Checks](https://github.com/kusrinivasan/jdk11u/actions/workflows/main.yml/badge.svg?branch=topic-jdk-8302000)](https://github.com/kusrinivasan/jdk11u/actions/workflows/main.yml)

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

Commit messages:
 - JDK-8302000: A subtle race condition during jdk11u build

Changes: https://git.openjdk.org/jdk11u/pull/68/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u&pr=68&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/68.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u pull/68/head:pull/68

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


More information about the jdk-updates-dev mailing list