On Mon, 16 Dec 2024 14:57:36 GMT, Matthew Donovan <mdono...@openjdk.org> wrote:
> In this small PR, I updated the jarsigner compatibility test to handle the > difference in default digest algorithms between JDK versions. The previous > default was SHA-256 but has been updated to SHA-384. test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java line 1442: > 1440: > 1441: String expectedTsaDigestAlg() { > 1442: return tsaDigestAlgorithm != null ? tsaDigestAlgorithm : > "SHA-256"; You can actually get it from `jdk.security.jarsigner.JarSigner.Builder.getDefaultDigestAlgorithm()`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22765#discussion_r1886978460