Hi Greg, Thank you for working on this. Isn't this work part of KIP-1006? That KIP hasn't even been approved (although it seems very likely to be so). Certainly it isn't in 3.9. The PR is also kind of large with 16 files changed. I think supporting new JDK versions that we haven't supported before should be a 4.0 thing.
best, Colin On Thu, Sep 26, 2024, at 09:44, Greg Harris wrote: > Hi Colin, > > It has been brought to my attention that Java 23 is now GA, and Kafka > clients, brokers, and connect are now experiencing > UnsupportedOperationExceptions by default due our use of the > deprecated-for-removal SecurityManager. > This only happens upon upgrading to Java 23, so this is not a regression. > Users can workaround this issue themselves by setting a system property or > by not upgrading to Java 23. > > I have implemented a patch to avoid these UnsupportedOperationExceptions, > and effectively make Kafka compatible with Java 23 by default. > Issue: https://issues.apache.org/jira/browse/KAFKA-17078 and the associated > PR: https://github.com/apache/kafka/pull/16522 > The patch has low risk for users which don't use SecurityManager. It has a > moderate risk for users that use SecurityManager, as we don't have good > visibility into those use-cases. > > Is this something that you want to include in 3.9.0? > > Thanks, > Greg > > On Wed, Sep 25, 2024 at 2:31 PM José Armando García Sancio > <jsan...@confluent.io.invalid> wrote: > >> Hi Colin, >> >> We found a bug that we should fix for 3.9.0 >> (https://issues.apache.org/jira/browse/KAFKA-17608). Alyssa is going >> to work on the fix and we expect a PR soon. >> >> Thanks, >> -José >>