Fwd: JDK 19+21 early-access build is reproducible
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon May 9 13:18:19 UTC 2022
Just a FYI: The fix of the last remaining bug towards full
reproducibility (on Linux, at least) of the JDK was given attention on
the reproducible-builds mailing list.
/Magnus
-------- Forwarded Message --------
Subject: JDK 19+21 early-access build is reproducible
Date: Fri, 6 May 2022 13:48:20 -0700
From: John Neffenger <john at status6.com>
Reply-To: General discussions about reproducible builds
<rb-general at lists.reproducible-builds.org>
Organization: Status Six Communications
To: Reproducible Builds List <rb-general at lists.reproducible-builds.org>
Starting yesterday, for the first time, the JDK can create reproducible
builds of the JDK!
Pull request 8478 [1] was the last reproducibility bug remaining in my
JDK builds on Linux, and it's included in the latest JDK 19+21
early-access build. [2] OpenJDK 19 will be generally available on
September 20, 2022.
That also means there's nothing in the JDK that's holding back any Java
application from having reproducible builds. The link below lists all
the "reproducible build" fixes for OpenJDK:
https://bugs.openjdk.java.net/issues/?jql=labels+%3D+reproducible-build
I tested on six Linux architectures (amd64, arm64, armhf, i386, ppc64el,
s390x), and the entire JDK is reproducible including the command-line
tools, demos, API documentation, JMOD archives, native libraries, and
man pages -- even when using a different build path. Note that I didn't
test on macOS or Windows.
A big thank you to Magnus Ihse Bursie and Andrew Leonard for doing much
of the work to make this possible.
John
[1]: https://github.com/openjdk/jdk/pull/8478
[2]: https://jdk.java.net/19/
More information about the build-dev
mailing list