[ https://issues.apache.org/jira/browse/KAFKA-17723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai updated KAFKA-17723: ----------------------------------- Fix Version/s: 3.9.1 > Fix "this-escape" compiler warnings (MultiThreadedEventProcessor and > DistributedHerder) for JDK 23 > -------------------------------------------------------------------------------------------------- > > Key: KAFKA-17723 > URL: https://issues.apache.org/jira/browse/KAFKA-17723 > Project: Kafka > Issue Type: Sub-task > Reporter: Chia-Ping Tsai > Assignee: Anshul Goyal > Priority: Minor > Fix For: 4.0.0, 3.9.1 > > > {code:java} > > Task :coordinator-common:compileJava FAILED > /root/kafka/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/MultiThreadedEventProcessor.java:107: > warning: [this-escape] possible 'this' escape before subclass is fully > initialized > this.threads = IntStream.range(0, numThreads).mapToObj(threadId -> > ^ > error: warnings found and -Werror specified > {code} > {code:java} > > Task :connect:runtime:compileJava > /root/kafka/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java:269: > warning: [this-escape] possible 'this' escape before subclass is fully > initialized > this(config, worker, worker.workerId(), kafkaClusterId, > statusBackingStore, configBackingStore, null, restUrl, restClient, > worker.metrics(), > ^ > /root/kafka/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java:318: > warning: [this-escape] previous possible 'this' escape happens here via > invocation > new RebalanceListener(time), time, clientId, > logContext); > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)