This fix removes the check for 90 days expiry. But the test will continue to fail if the expired certificate is included in `cacerts` but no exception is granted.
Fix also includes minor code cleanup. ------------- Commit messages: - Consider removal of expiry check in VerifyCACerts.java test Changes: https://git.openjdk.org/jdk/pull/12910/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12910&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8282201 Stats: 52 lines in 1 file changed: 16 ins; 24 del; 12 mod Patch: https://git.openjdk.org/jdk/pull/12910.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12910/head:pull/12910 PR: https://git.openjdk.org/jdk/pull/12910