On Thu, 16 Apr 2026 12:36:51 GMT, Sean Mullan <[email protected]> wrote:
>> SunJSSE implementation of `SSLEngine` throws an exception if being used >> before calling `setUseClientMode()`. Javadoc wording in `SSLContextSpi` and >> `SSLContext` classes should be improved. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > src/java.base/share/classes/javax/net/ssl/SSLContext.java line 355: > >> 353: * @implNote >> 354: * The JDK SunJSSE provider implementation requires to always set >> the >> 355: * desired mode explicitly by calling > > Suggested rewording: "The JDK SunJSSE provider implementation requires that > the desired mode be set explicitly by calling ..." Makes sense, thanks! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30754#discussion_r3093751670
