-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rebuilding against a more precise JDK versions #1718
Comments
There is support for building project with a precise JDK version. See
When you rebuild this buildspec, it would spawn an interactive subshell and then you can switch to |
@algomaster99 thanks for the suggestion. But I don't think it plays nicely with the gradle rebuild, see:
it uses the gradle images, and those do not have such granularity for JDK versions. So if a more precise version is specified ...
|
Uh okay. I am not sure about gradle rebuilds. I have not played with them as much 😅 |
yes, generated bytecode changed quite much in JDK 17.0.14: there is a clear split between "up to 17.0.13" and 17.0.14 (I hope 17.0.15 will generated like 17.0.14...) this is exceptional, hence why Reproducible Central intentionally did not record patch JDK requirements: this was a design decision I did from the start. if you have an idea on how to configure in |
I recently was trying to run the rebuild script check on a project released with JDK 17.0.12 while the rebuild script uses 17.0.14. I've ended up with:
so I was thinking, should there be a way to specify the JDK version more percise.
An implementation idea for this: for a project that has a maven/gradle wrapper we could leverage the simple JDK image instead of using maven/gradle ones, e.g.
eclipse-temurin:17.0.14_7-jdk-alpine
(or whatever is specified) This way we could lock the rebuilt to the exact JDK version.The text was updated successfully, but these errors were encountered: