RFR: 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond [v2]

Naoto Sato naoto at openjdk.org
Tue Jun 27 16:34:40 UTC 2023


> Fixing the `/ by zero` exception with tick durations less than a millisecond.

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:

 - Merge branch 'master' into JDK-8310232-TickClock-ArithExp
 - Removed bugid from the test class description
 - refactor return statement
 - 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14657/files
  - new: https://git.openjdk.org/jdk/pull/14657/files/050fb378..d1a984d7

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

  Stats: 9256 lines in 348 files changed: 3584 ins; 2949 del; 2723 mod
  Patch: https://git.openjdk.org/jdk/pull/14657.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14657/head:pull/14657

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


More information about the core-libs-dev mailing list