stoty commented on PR #17901:
URL: https://github.com/apache/kafka/pull/17901#issuecomment-2541004297

   I have checked the JDK, and while Plain indeed throws SASLException, the 
other mechanisms correctly throw      IllegalStateException in accordance with 
the JavaDoc:
   
   
https://github.com/openjdk/jdk23u/blob/9101cc14972ce6bdeb966e67bcacc8b693c37d0a/src/java.security.sasl/share/classes/com/sun/security/sasl/CramMD5Base.java#L80
   
   I am reverting the patch to throw IllegalStateException , it's better to 
match the specs than to mimic a single buggy mechanism in JDK.


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