Reproducible builds

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Mar 10 11:04:00 UTC 2022


On 2022-03-08 23:09, Richard Bair wrote:
> Hi!
>
> I am wondering whether it is a stated goal or non-legally binding guarantee that the compilation of a program from the same build of OpenJDK will always produce the same binary output? I understand that at the specification level there is no guarantee of reproducible builds, and that different JDKs from different providers may very well produce non-identical binaries. Is there any indeterminism in a run from javac that would produce different binary artifacts?
>

I think the best way to answer this question is that historically, any 
discovered non-deterministic output from javac has been considered a 
bug, and fixed.

/Magnus


More information about the compiler-dev mailing list