merlimat opened a new pull request, #3820:
URL: https://github.com/apache/bookkeeper/pull/3820

   ### Motivation
   
   Building BK with Java 19 fails because there is a deprecation warning and 
it's being treated as an error.
   
   In a few places, we are using `Thread.getId()` which has been deprecated 
since Java 19. There is now a new replacement: `Thread.getThreadId()`. 
   
   The problem is that we cannot use the new method (which is only in Java 19+) 
and the build fails with the deprecated method.
   
   I believe the best solution is to not use `-Werrror` flag in the build.


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