> 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision: - 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: - all: https://git.openjdk.org/jdk/pull/30754/files - new: https://git.openjdk.org/jdk/pull/30754/files/3a168496..4b59beff Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30754&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30754&range=02-03 Stats: 90413 lines in 2477 files changed: 49667 ins; 25514 del; 15232 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
