gharris1727 opened a new pull request, #15468:
URL: https://github.com/apache/kafka/pull/15468

   The SSLUtilsTest uses the deprecated methods 
SslContextFactory#getNeedClientAuth and #getWantClientAuth. These are only 
valid in the context of a server, so they were moved to the 
SslContextFactory.Server class. We can avoid the deprecation but keep the 
assertions in the test by using the SslContextFactory.Server type instead of 
the parent SslContextFactory type.
   
   I did the same for the call-sites in main, and for the 
SslContextFactory.Client type. This is necessary for a future upgrade of Jetty 
which actually removes these methods, and expects the specialized forms to be 
passed-around instead. This should not have any functional changes.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to