-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Use cimg/openjdk:16.0.1 for CircleCI #2520
Conversation
Its build has failed as follows:
Gradle 6.8.3 doesn't seem to work on JDK 16. |
Not without some workarounds, unfortunately. See gradle/gradle#13481. I think Gradle 7.0 should be out "soon", so perhaps we should just wait for that. It's a shame support without workarounds hasn't been released in a 6.x version of Gradle. |
Now that the Gradle 7 upgrade is in, this should be unblocked. Would you rebase and target it at the |
Backing this out of the 1.5.14 release since we're back to being blocked on upgrading to Gradle 7. While Gradle 6.9 can compile with JDK 16, it cannot run with it, which would require us to have two JDK versions in our build environment. We'll unfortunately have to come back to this when we can manage to upgrade to Gradle 7. |
Tests were failing with an InaccessibleObjectException on Java 16, which has been fixed in recent patch versions of Tomcat.
@@ -104,8 +104,8 @@ org.apache.kafka:kafka-clients:2.5.0=compileClasspath,runtimeClasspath,testCompi | |||
org.apache.kafka:kafka-streams:2.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath | |||
org.apache.logging.log4j:log4j-api:2.13.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath | |||
org.apache.logging.log4j:log4j-core:2.13.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath | |||
org.apache.tomcat.embed:tomcat-embed-core:8.5.54=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath | |||
org.apache.tomcat:tomcat-annotations-api:8.5.54=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath | |||
org.apache.tomcat.embed:tomcat-embed-core:8.5.69=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our Tomcat tests fail on Java 16 without this upgrade due to an InaccessibleObjectException.
https://tomcat.apache.org/tomcat-8.5-doc/changelog.html#Tomcat_8.5.62_(markt)
This PR changes to use
cimg/openjdk:16.0.0
for CircleCI.