> Instead of discarding the newly created `CommunicationException` > exception and referencing the outer (caught) > `SSLPeerUnverifiedException` exception, this patch adds the > `SSLPeerUnverifiedException` exception as the suppressed exception of > the newly created `CommunicationException` exception. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Ashay Rane has updated the pull request incrementally with one additional commit since the last revision: Handle the case when `closureReason == null` Also, since `closureReason` is shared, we first read it into a local variable (`priorFailure`) before checking for null. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31545/files - new: https://git.openjdk.org/jdk/pull/31545/files/a260a81e..9c69ffa8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31545&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31545&range=00-01 Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/31545.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31545/head:pull/31545 PR: https://git.openjdk.org/jdk/pull/31545
