Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn when a non-reproducible compiler is used #34

Open
io7m opened this issue May 25, 2018 · 0 comments
Open

Warn when a non-reproducible compiler is used #34

io7m opened this issue May 25, 2018 · 0 comments
Assignees

Comments

@io7m
Copy link
Member

io7m commented May 25, 2018

Basically, warn when the user isn't using OpenJDK 11 (or whatever is the current LTS release). The reason: Compilers now insert platform module versions into compiled source files, so the output is not reproducible in the sense that the user will get the version numbers of their own platform's modules inserted into the code.

A warning such as:

[WARN] Compiler is not OpenJDK 11.0: Produced bytecode may not be byte-for-byte identical to the published bytecode. See https://github.com/io7m/primogenitor#reproducibility

... will serve as documentation to those trying to reproduce code that is identical to the published code.

@io7m io7m self-assigned this May 25, 2018
@io7m io7m added this to the 3.0.0 milestone Jun 7, 2018
@io7m io7m removed this from the 3.0.0 milestone Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant