RFR: 8306040: HttpResponseInputStream.available() returns 1 on empty stream [v3]

Vyom Tewari vtewari at openjdk.org
Wed Aug 23 09:15:18 UTC 2023


> Please review the code change for [JDK-8306040](https://bugs.openjdk.org/browse/JDK-8306040). In the overridden "available" method of "HttpResponseInputStream" we are returning 1 after exploring all the code path.

Vyom Tewari has updated the pull request incrementally with one additional commit since the last revision:

  added the comment before assert in test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14810/files
  - new: https://git.openjdk.org/jdk/pull/14810/files/a4a6eaff..17b98c71

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14810&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14810&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14810.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14810/head:pull/14810

PR: https://git.openjdk.org/jdk/pull/14810


More information about the net-dev mailing list