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
Try to build with JDK 17-ea #1561
Conversation
This reverts commit 8cd31ff.
Kudos, SonarCloud Quality Gate passed! |
It seems JEP 406 isn't ready in the current 17-ea (build 24):
I will wait for the coming EA release. |
note: I've confirmed that JEP 306: Restore Always-Strict Floating-Point Semantics does not affect SpotBugs detectors. There is no logic related to |
The build 26 contains enough feature to build switch with pattern match. 🎉 |
17-ea build 24 now contains support for the Pattern Matching for switch (preview), so I want to confirm how SpotBugs reacts on it.
I just worry that it may reproduce a previous problem at JDK 11 b7, #756 in our issues.
Java 11 changed a way to generate bytecode for try-with-resources and it affects SpotBugs, JaCoCo, and other tools. It's better to confirm the behavior by Early Access build before the GA for the coming LTS.
note: Gradle now uses Groovy 3.0.7, that depends on ObjectWeb ASM 9.0 which doesn't support JDK 17.
I guess we need to bump up the Groovy to 3.0.8 with this change, but not sure how at this moment.
If the build in GitHub Actions failed, I will contact Gradle community to grasp how.
Update: posted to Gradle Community Slack