JMX has been using Arrays.equals() where it should be using MessageDigest.isEqual().
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8385163: JMX: Use recommended MessageDigest comparison method Changes: https://git.openjdk.org/jdk/pull/32181/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32181&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8385163 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/32181.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32181/head:pull/32181 PR: https://git.openjdk.org/jdk/pull/32181
