On Thu, 11 Jun 2026 12:36:27 GMT, Artur Barashev <[email protected]> wrote:
>> SunJSSE implementation of `SSLEngine` throws an IllegalStateException if >> being used to start a handshake or wrap/unwrap bytes before calling >> `setUseClientMode()`. Research shows that it's not necessarily needed and >> the `server` default can be used. We do recommend users to set the desired >> mode explicitly in `SSLContext` and `SSLContextSpi` javadocs. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Artur Barashev has updated the pull request incrementally with one additional > commit since the last revision: > > Use default server mode in SSLEngineTemplate. Rename the test. Marked as reviewed by djelinski (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/31422#pullrequestreview-4479796965
