<i18n dev> Integrated: 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id

Naoto Sato naoto at openjdk.org
Mon Mar 6 17:26:43 UTC 2023


On Fri, 3 Mar 2023 20:51:14 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> This change is to fix a regression caused by the fix to [JDK-8234347](https://bugs.openjdk.org/browse/JDK-8234347). The previous fix was simply disabling offset-based parsing if the parser was text-based. Instead, check if it is an offset or not by explicitly comparing the character with '+'/'-' and continue offset parsing if it is.

This pull request has now been integrated.

Changeset: cfb0a25a
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cfb0a25a4ee1a9cebd88c84fa622c46fe1c89bae
Stats:     81 lines in 2 files changed: 79 ins; 0 del; 2 mod

8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id

Reviewed-by: iris, jpai, rriggs, lancea

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

PR: https://git.openjdk.org/jdk/pull/12868


More information about the i18n-dev mailing list