[jdk17u-dev] 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 10:06:18 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/jdk17u-dev/pull/467/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=467&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/jdk17u-dev/pull/467.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/467/head:pull/467

PR: https://git.openjdk.org/jdk17u-dev/pull/467


More information about the jdk-updates-dev mailing list