Class UnixSocket.UnselectableByteChannel

java.lang.Object
jnr.unixsocket.UnixSocket.UnselectableByteChannel
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, ReadableByteChannel, WritableByteChannel
Enclosing class:
UnixSocket

static final class UnixSocket.UnselectableByteChannel extends Object implements ReadableByteChannel, WritableByteChannel
A byte channel that doesn't implement SelectableChannel. Though that type isn't in the public API, if the channel passed in implements that interface then unwanted synchronization is performed which can harm concurrency and can cause deadlocks. https://bugs.openjdk.java.net/browse/JDK-4774871