RFR: 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust [v3]

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Tue Oct 15 12:31:52 UTC 2024


> The time difference check might fail for scenarios such as batch compilation. It is safer to give a bigger allowance of 10 seconds instead of 0.1 sec.
> 
> Testing: The test was run for 100 times with -Xcomp option.

Ramkumar Sunderbabu has updated the pull request incrementally with one additional commit since the last revision:

  checking if time is monotonic

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21413/files
  - new: https://git.openjdk.org/jdk/pull/21413/files/c0998456..8a963110

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

  Stats: 15 lines in 1 file changed: 8 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/21413.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21413/head:pull/21413

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


More information about the core-libs-dev mailing list