vamossagar12 opened a new pull request, #14742: URL: https://github.com/apache/kafka/pull/14742
Noticed the latest https://github.com/apache/kafka/pull/14741 [failed compileJava on JDK 21](https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-14741/1/pipeline/) due to => ``` > Task :streams:compileJava /home/jenkins/jenkins-agent/workspace/Kafka_kafka-pr_PR-14741/streams/src/main/java/org/apache/kafka/streams/kstream/internals/WindowStoreMaterializer.java:46: warning: [this-escape] possible 'this' escape before subclass is fully initialized retentionPeriod = retentionPeriod(); ^ error: warnings found and -Werror specified ``` This seems to be happening because this-escape is [a new linter added in JDK 21](https://bugs.openjdk.org/browse/JDK-8015831), which warns about the constructor calling other methods. This PR is an attempt to check if this suppression helps in getting around this issue. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
