The test fails with a promoted build because `Utils.<clinit>` calls `MessageDigest.getInstance("MD5")` after the SUN provider is removed. Manually rewrite the functionality of `Utils.runAndCheckException` instead of using the existing helper method.
------------- Commit messages: - the fix Changes: https://git.openjdk.org/jdk/pull/22576/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22576&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345578 Stats: 13 lines in 1 file changed: 8 ins; 3 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/22576.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22576/head:pull/22576 PR: https://git.openjdk.org/jdk/pull/22576