ableegoldman commented on PR #17522:
URL: https://github.com/apache/kafka/pull/17522#issuecomment-2522185051

   > I assume all Kafka developers should use JDK 17, as we typically build the 
entire project during development.
   
   We do indeed need to compile the project with 17, but we should recommend 
that anyone working on the clients (or any other modules that still support 11) 
at least set their IDE's language version to JDK11 to avoid accidentally using 
APIs that don't exist back in 11 (looking at you `Optional#isPresent`). I also 
noticed that the PR builds don't show the most clear error when failing due to 
use of post-JDK-11 APIs :/


-- 
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]

Reply via email to