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

Naoto Sato naoto at openjdk.org
Mon Nov 13 18:37:42 UTC 2023


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

Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - comment fix
 - Addresses review comments
 - Merge branch 'master' into JDK-8319640-ClassicFormat-parseObject
 - initial commit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16586/files
  - new: https://git.openjdk.org/jdk/pull/16586/files/7a4b8ef2..2b03aa2d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16586&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16586&range=00-01

  Stats: 611054 lines in 787 files changed: 78824 ins; 472476 del; 59754 mod
  Patch: https://git.openjdk.org/jdk/pull/16586.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16586/head:pull/16586

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


More information about the i18n-dev mailing list