<i18n dev> RFR: 8190748: java/text/Format/DateFormat/DateFormatTest.java and NonGregorianFormatTest fail intermittently

Lance Andersen lancea at openjdk.java.net
Mon Nov 29 21:13:04 UTC 2021


On Mon, 29 Nov 2021 18:48:45 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Fixing tests that fail at DST->STD offset transition. Simply skipping the tests on that occasion.

test/jdk/java/text/Format/DateFormat/DateFormatTest.java line 349:

> 347:         var defZone = ZoneId.systemDefault();
> 348:         if (defZone.getRules().getTransition(date1.toInstant().atZone(defZone).toLocalDateTime()) != null) {
> 349:             logln("At the offset transition. Round trip test skipped.");

Should the message be more inlined with the test name vs indicate Round trip test is skipped?

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

PR: https://git.openjdk.java.net/jdk/pull/6598


More information about the i18n-dev mailing list