You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ijuma (via GitHub)" <gi...@apache.org> on 2023/09/25 11:49:03 UTC

[GitHub] [kafka] ijuma commented on a diff in pull request #14433: KAFKA-15485: Support building with Java 21 (3/3)

ijuma commented on code in PR #14433:
URL: https://github.com/apache/kafka/pull/14433#discussion_r1335774192


##########
build.gradle:
##########
@@ -232,7 +232,10 @@ subprojects {
 
   apply plugin: 'java-library'
   apply plugin: 'checkstyle'
-  apply plugin: "com.github.spotbugs"
+
+  // spotbugs doesn't support Java 21 yet
+  if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21))

Review Comment:
   I see this as a short term thing, so didn't think it was worth it. I expect spotbugs to have a release that works with Java 21 shortly. If it doesn't happen in the next few weeks, happy to see the warning. Is that a reasonable compromise.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org