To improve the readability, it would be nice to check the TLS extensions total length while parsing.
No new regression test, trial update. ------------- Commit messages: - 8264948: Check for TLS extensions total length Changes: https://git.openjdk.java.net/jdk/pull/3405/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3405&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8264948 Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/3405.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3405/head:pull/3405 PR: https://git.openjdk.java.net/jdk/pull/3405