Integrated: 8297316: [TestBug] LocalDateTimeStringConverterTest.testChronologyConsistency fails with JDK 20

Ambarish Rapte arapte at openjdk.org
Tue Apr 25 19:16:17 UTC 2023


On Tue, 25 Apr 2023 07:02:47 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> The expected result was changed due to an enhancement in JDK: 
> [JDK-8284840](https://bugs.openjdk.org/browse/JDK-8284840): Update CLDR to Version 42.0
> Similar tests were corrected in JDK along with the enhancement: [check this for example](https://github.com/openjdk/jdk/blob/4900517479f12b59cd8f1c31ad94ad7487c522f7/test/jdk/java/time/test/java/time/format/TestUnicodeExtension.java#L130)
> 
> We need to make similar change. But the expected result is different before JDK20 and with JDK20. The fix checks JDK major version to change expected result accordingly.

This pull request has now been integrated.

Changeset: 52d32c09
Author:    Ambarish Rapte <arapte at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/52d32c09b34368f83dc761776bef410c0d1e991f
Stats:     10 lines in 1 file changed: 9 ins; 0 del; 1 mod

8297316: [TestBug] LocalDateTimeStringConverterTest.testChronologyConsistency fails with JDK 20

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1114


More information about the openjfx-dev mailing list