[jdk18u] RFR: 8287894: Use fixed timestamp as an alternative of __DATE__ macro in jdk.jdi to make Windows build reproducible

Alexey Pavlyutkin duke at openjdk.java.net
Tue Jun 14 09:00:58 UTC 2022


Hi!

Here is a backport of 8287894 that fixes reproducible debug build for Windows. The original patch applied cleanly.

Verification (Windows10/MSVS2019): `bash ./configure --with-boot-jdk=c:/work/boot-jdk/jdk-18 --with-debug-level=fastdebug --with-hotspot-build-time="6/7/2022 2:35pm" --with-extra-cflags="/experimental:deterministic"`

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

Commit messages:
 - 8287894: Use fixed timestamp as an alternative of __DATE__ macro in jdk.jdi to make Windows build reproducible

Changes: https://git.openjdk.org/jdk18u/pull/151/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18u&pr=151&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287894
  Stats: 21 lines in 3 files changed: 14 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk18u/pull/151.diff
  Fetch: git fetch https://git.openjdk.org/jdk18u pull/151/head:pull/151

PR: https://git.openjdk.org/jdk18u/pull/151


More information about the jdk-updates-dev mailing list