The java.util.HexFormat methods for formatting and parsing replace a number of adhoc hex parsing and formatting methods in sun.security implementation classes.
------------- Commit messages: - 8250255: Use java.util.HexFormat in java.security Changes: https://git.openjdk.java.net/jdk/pull/1828/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1828&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8250255 Stats: 247 lines in 14 files changed: 13 ins; 183 del; 51 mod Patch: https://git.openjdk.java.net/jdk/pull/1828.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1828/head:pull/1828 PR: https://git.openjdk.java.net/jdk/pull/1828