[8u] RFR: 8259312: VerifyCACerts.java fails as soneraclass2ca cert will expire in 90 days
Aleksey Shipilev
shade at redhat.com
Mon Jan 11 14:38:34 UTC 2021
Original fix:
https://bugs.openjdk.java.net/browse/JDK-8259312
https://github.com/openjdk/jdk/commit/3be6e06958c4304cafee707a29d06d6b2cc5b76b
Patch does not apply cleanly to 8u, because @bug line does not have one of the expected bug IDs. I
added the bug ID from the original patch by hand.
8u variant:
diff -r 987c8e6b992e test/sun/security/lib/cacerts/VerifyCACerts.java
--- a/test/sun/security/lib/cacerts/VerifyCACerts.java Sat Dec 21 06:28:48 2019 +0800
+++ b/test/sun/security/lib/cacerts/VerifyCACerts.java Mon Jan 11 15:29:54 2021 +0100
@@ -25,11 +25,11 @@
/**
* @test
* @bug 8189131 8198240 8191844 8189949 8191031 8196141 8204923 8195774 8199779
* 8209452 8209506 8210432 8195793 8216577 8222089 8222133 8222137 8222136
* 8223499 8225392 8232019 8234245 8233223 8225068 8225069 8243321 8243320
- * 8225072 8258630
+ * 8225072 8258630 8259312
* @summary Check root CA entries in cacerts file
*/
import java.io.ByteArrayInputStream;
import java.io.File;
import java.nio.file.Files;
@@ -275,10 +275,12 @@
add("thawtepremiumserverca [jdk]");
// Valid until: Wed Mar 17 02:51:37 PDT 2021
add("luxtrustglobalrootca [jdk]");
// Valid until: Wed Mar 17 11:33:33 PDT 2021
add("quovadisrootca [jdk]");
+ // Valid until: Tue Apr 06 00:29:40 PDT 2021
+ add("soneraclass2ca [jdk]");
}
};
// Ninety days in milliseconds
private static final long NINETY_DAYS = 7776000000L;
Testing: jdk_security tests (used to fail, now pass)
--
Thanks,
-Aleksey
More information about the jdk8u-dev
mailing list