RFR: 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java [v2]

Naoto Sato naoto at openjdk.java.net
Tue Jan 4 00:00:15 UTC 2022


On Mon, 3 Jan 2022 23:45:16 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Hope looping through Zone strings isn't really necessary.

Thanks, Joe. IMHO, `DateFormatSymbols.getZoneStrings()` is badly designed. It just simply exposes the names in the underlying ResourceBundle, and I cannot think of any use cases for this method, rather than using `ZoneId` or `TimeZone`'s display names retrieval methods.

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

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


More information about the core-libs-dev mailing list