On Mon, 8 Jun 2026 14:57:08 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).

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/31422

Reply via email to