> 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 one additional commit since the last revision: Fix compilation failures due to the `monotonicMilliTicks()` rename ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33890/files - new: https://git.openjdk.org/jdk/pull/33890/files/2e234566..12eab609 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=03-04 Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 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
