> Switch `jdk.httpserver` from wall clock to a monotonic one. This effectively > fixes elapsed time measurements and scheduled event fire instants. Bonus: > improves the test stability. > > In short, replaced the `System.currentTimeMillis()` & `java.util.Timer` > combination with the `System.nanoTime()` & `ScheduledExecutorService` > alternative. > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Volkan Yazici has updated the pull request incrementally with two additional commits since the last revision: - One more review fix Co-authored-by: Daniel Fuchs <[email protected]> - Apply review suggestions Co-authored-by: Daniel Fuchs <[email protected]> Co-authored-by: Volkan Yazıcı <[email protected]> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33890/files - new: https://git.openjdk.org/jdk/pull/33890/files/aff69c11..2e234566 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=02-03 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/33890.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33890/head:pull/33890 PR: https://git.openjdk.org/jdk/pull/33890
