> 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: Update test description ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31422/files - new: https://git.openjdk.org/jdk/pull/31422/files/fdde0260..d4dba5e2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31422&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31422&range=00-01 Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/31422.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31422/head:pull/31422 PR: https://git.openjdk.org/jdk/pull/31422
