The following always return 0 as the implementation of available()
needs to be overridden :-
Channels.newInputStream(ch).available()
sc.socket().getInputStream().available()
- duplicates
-
JDK-4663867 channel.socket().getInputStream().available() returns 0
-
- Closed
-
- relates to
-
JDK-6884800 (file) Path.newInputStream does not usefully implement available()
-
- Resolved
-
-
JDK-8222774 (ch) Replace uses of stateLock and blockingLock with j.u.c. locks
-
- Resolved
-