[jdk8u-dev] Integrated: 8298108: Add a regression test for JDK-8297684

Severin Gehwolf sgehwolf at openjdk.org
Thu May 25 17:33:08 UTC 2023


On Mon, 27 Feb 2023 19:13:58 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this backport of the regression test for a critical fix which we've included with the January CPU update. The fix was https://bugs.openjdk.org/browse/JDK-8280890
> 
> This patch adds an additional regression test which was seen in the wild with JDK 17. The patch isn't clean since the test library in jdk8u is different so needed a bit of a different setup routine for getting the jar with the provider created. Additionally, in jdk 8 the property to add providers is setting `java.ext.dirs=...` over `java.locale.providers=SPI` in later JDKs.
> 
> Testing: The test passes for me on the current dev tree and fails with the fix from JDK-8280890 reverted.
> 
> Thoughts?

This pull request has now been integrated.

Changeset: 29ba98e5
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/29ba98e59b2df7fd85d3f0a000df0554fea845c2
Stats:     193 lines in 3 files changed: 193 ins; 0 del; 0 mod

8298108: Add a regression test for JDK-8297684
8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows

Reviewed-by: phh, andrew
Backport-of: 4da8411674b7515310000bd8243860bc73f9a03d

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

PR: https://git.openjdk.org/jdk8u-dev/pull/269


More information about the jdk8u-dev mailing list