-
Notifications
You must be signed in to change notification settings - Fork 903
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
BK build fails with jdk 21 (LTS) #4189
Comments
In order to run the tests with Java 21, I think that we also need to get rid of PowerMock, #4201 . |
I upgraded a lot of things in the build while fixing CI. It seems that building with Java 21 just works now. |
Even running tests seem to work with Java 21 since a lot of the dependencies were upgraded. I was doubting if Groovy 3 supports Java 21, but it seems that the 3.0.20 version does since it doesn't choke. It looks like Groovy 3 runs on Java 21 since 3.0.17 version. |
I think this issue can be closed as resolved. Obviously running all tests with Java 21 is a different matter and would require changes to CI to run also with Java 21. We have a scheduled build in Pulsar to run all tests with Java 21 once a day. |
@lhotari Thanks, let me verify it in my laptop |
BUG REPORT
Describe the bug
BK build fails with jdk 21 (LTS)
To Reproduce
Steps to reproduce the behavior:
mvn clean install
with jdk 21:build fails with
circe-checksum: Fatal error compiling: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
Expected behavior
build succeeds
Additional context
The text was updated successfully, but these errors were encountered: