[jdk8u-dev] RFR: 8298108: Add a regression test for JDK-8297684
Severin Gehwolf
sgehwolf at openjdk.org
Wed Apr 19 18:21:54 UTC 2023
On Tue, 4 Apr 2023 18:12:34 GMT, Andrew John Hughes <andrew 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?
>
> We should also probably reference [JDK-8298271](https://bugs.openjdk.org/browse/JDK-8298271) in this PR to make it clear that the issue is also resolved for 8u (it was effectively "fixed" by not using a hardcoded path separator in the first place)
@gnu-andrew Is there anything else you need my action on?
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/269#issuecomment-1515172254
More information about the jdk8u-dev
mailing list