RFR: 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Tue Oct 8 17:16:10 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.
-------------
Commit messages:
- initial commit
Changes: https://git.openjdk.org/jdk/pull/21413/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21413&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8324672
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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