RFR: 8286263: compiler/c1/TestPinnedIntrinsics.java failed with "RuntimeException: testCurrentTimeMillis failed with -3"

Dean Long dlong at openjdk.java.net
Fri May 6 04:50:20 UTC 2022


This test incorrectly assumes calls to System.currentTimeMillis() are monotonic.  The only fix I can think of is to remove that test and leave the test for System.nanoTime().

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

Commit messages:
 - remove test for System.currentTimeMillis() because it is not monotonic

Changes: https://git.openjdk.java.net/jdk/pull/8566/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8566&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286263
  Stats: 15 lines in 1 file changed: 0 ins; 14 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8566.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8566/head:pull/8566

PR: https://git.openjdk.java.net/jdk/pull/8566


More information about the hotspot-compiler-dev mailing list