A small oversight in the implementation of sun.nio.cs.StreamDecoder means that Channels.newReader does not thrown IllegalBlockingMode if invoked with a channel that is configured non-blocking.
http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-June/010391.html
http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-June/010391.html
- relates to
-
JDK-8081639 (ch spec) Channels.newInputStream result may not work as expected with non-blocking channels
-
- Open
-
- links to
-
Review openjdk/jdk/12478