RFR: 8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException
Roger Riggs
rriggs at openjdk.org
Thu Nov 9 18:38:56 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.
Looks good.
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16586#pullrequestreview-1723260458
More information about the core-libs-dev
mailing list