> 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).
Artur Barashev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits: - Merge branch 'master' into JDK-8382270 # Conflicts: # test/jdk/sun/security/ssl/SSLEngineImpl/EngineEnforceUseClientMode.java - Clarify setUseClientMode() javadoc - Formatting and wording corrections - Add @throws section to getUseClientMode() - Merge branch 'master' into JDK-8382270 - Throw an exception when getUseClientMode() is called before setUseClientMode(). Remove any notion of default from SSLEngine javadoc - Address review comments - 8382270: Update SSLContex API javadoc: require setUseClientMode call for SunJSSE ------------- Changes: https://git.openjdk.org/jdk/pull/30754/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30754&range=06 Stats: 140 lines in 5 files changed: 55 ins; 48 del; 37 mod Patch: https://git.openjdk.org/jdk/pull/30754.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30754/head:pull/30754 PR: https://git.openjdk.org/jdk/pull/30754
