RFR: 8338426: Test java/nio/channels/Selector/WakeupNow.java failed

Alan Bateman alanb at openjdk.org
Thu Oct 24 14:27:15 UTC 2024


On Thu, 24 Oct 2024 00:58:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> `System.currentTimeMillis()` is replaced with `System.nanoTime()` and the elapsed time is added to the failure exception message.

Changing it to use nanoTime is good but I wonder about the reliability of the select(2000) taking >= 1s. This test has a history of being on and off the exclude list several times over the years.

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

PR Comment: https://git.openjdk.org/jdk/pull/21674#issuecomment-2435441963


More information about the nio-dev mailing list