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

Reproducible jars #28

Open
jlesquembre opened this issue Aug 2, 2022 · 3 comments
Open

Reproducible jars #28

jlesquembre opened this issue Aug 2, 2022 · 3 comments

Comments

@jlesquembre
Copy link
Owner

In the long run, it would be nice to generate jars deterministically.

To my knowledge, it is not a Clojure specific issue, the whole JVM ecosystem is affected.

A paper discussing this topic: https://arxiv.org/abs/2202.05906

The authors mention a tool (JavaBEPFix) to post-process the generated jars, making them deterministic in most cases. Unfortunately, I was not able to find any information about JavaBEPFix (I don't think it is open source). Recently I discover byte-buddy, maybe it could be used to generate jars deterministically.

An issue specific to Clojure is non-deterministic AOT function names, more details about it here:
https://github.com/griffinbank/rules_clojure#known-issues

@jlesquembre
Copy link
Owner Author

@jlesquembre
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant