RFR: 8297316: [TestBug] LocalDateTimeStringConverterTest.testChronologyConsistency fails with JDK 20
Ambarish Rapte
arapte at openjdk.org
Tue Apr 25 07:08:24 UTC 2023
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.
-------------
Commit messages:
- add todo
- Change expected output to match jdk
Changes: https://git.openjdk.org/jfx/pull/1114/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1114&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8297316
Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/1114.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1114/head:pull/1114
PR: https://git.openjdk.org/jfx/pull/1114
More information about the openjfx-dev
mailing list