RFR: 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)

Alan Bateman alanb at openjdk.org
Mon Dec 9 15:22:40 UTC 2024


On Mon, 9 Dec 2024 14:51:22 GMT, Joachim Kern <jkern at openjdk.org> wrote:

> I tried this first, but `IOUtil.configureBlocking(fd, blocking)` needs a `FileDescriptor` object instead of an `int`: `public static native void configureBlocking(FileDescriptor fd, boolean blocking)` And I did not find any public FileDescriptor constructor taking an `int`. I would be happy for any hint to avoid this double implementation of configureBlocking

IOUtil.newFD is there if you need it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22633#discussion_r1876179323


More information about the nio-dev mailing list