[jdk11u-dev] RFR: 8345414: Google CAInterop test failures

Severin Gehwolf sgehwolf at openjdk.org
Mon Jun 16 08:36:41 UTC 2025


On Sat, 14 Jun 2025 01:41:51 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> This fixes failing Google cacert tests. The backport does not apply cleanly as 11u does not have [JEP 361: Switch Expressions](https://openjdk.org/jeps/361) and so the test here uses the older format of `switch` statement.
> 
> Testing shows that the tests now pass, whereas they failed before:
> 
> ~~~
> --- test.1749863688/tests.log	2025-06-14 02:21:29.917118885 +0100
> +++ test.1749864406/tests.log	2025-06-14 02:33:33.360825162 +0100
> @@ -21,14 +21,14 @@
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#entrustrootcaec1
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#entrustrootcag4
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#globalsigne46
> -FAILED: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#globalsigneccrootcar4
> +Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#globalsigneccrootcar4
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#globalsignr46
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#globalsignrootcar6
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#godaddyrootg2ca
> -FAILED: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootcar1
> -FAILED: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootcar2
> -FAILED: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootecccar3
> -FAILED: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootecccar4
> +Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootcar1
> +Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootcar2
> +Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootecccar3
> +Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#gtsrootecccar4
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#letsencryptisrgx1
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#letsencryptisrgx2
>  Passed: security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#microsoftecc2017
> ~~~

LGTM

-------------

Marked as reviewed by sgehwolf (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3048#pullrequestreview-2931122656


More information about the jdk-updates-dev mailing list