There is a subtle bug in the implementation in JFR TLSHandshakeEvent: the event wasn't recorded on the client side for the TLSv1.2 resumed session (abbreviated handshake) and on the server side for TLSv1.2 full handshake. For a resumed handshake the client produces the last Finished in TLSv1.2, unlike the full handshake where the server produces the last Finished. In TLSv1.3 the client produces the last Finished for both resumed and full handshake.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Initial Changes: https://git.openjdk.org/jdk/pull/32768/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32768&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8391863 Stats: 145 lines in 2 files changed: 143 ins; 2 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/32768.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32768/head:pull/32768 PR: https://git.openjdk.org/jdk/pull/32768
