<i18n dev> Integrated: 8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException

Naoto Sato naoto at openjdk.org
Mon Nov 13 23:45:37 UTC 2023


On Thu, 9 Nov 2023 17:44:44 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Fixing the `Format::parseObject(String, ParsePosition)` implementation in `DateTimeFormatter` class, to not throw `DateTimeException` but to return null.

This pull request has now been integrated.

Changeset: fe0ccdf5
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fe0ccdf5f8a5559a608d2e2cd2b6aecbe245c5ec
Stats:     50 lines in 2 files changed: 34 ins; 8 del; 8 mod

8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException

Reviewed-by: rriggs, iris, jlu, joehw

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

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


More information about the i18n-dev mailing list