RFR: 8286200: SequenceInputStream::read(b, off, 0) returns -1 at EOF [v2]

Brian Burkhalter bpb at openjdk.java.net
Thu May 12 15:48:47 UTC 2022


> Modify the specification of `SequenceInputStream.read(byte[],int,int)` to indicate that `-1` is returned at the EOF of the last stream even if `len` is zero.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8286200: Change @throws IOOBE clause of read(byte[],int,int) to better match specification verbiage

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8664/files
  - new: https://git.openjdk.java.net/jdk/pull/8664/files/b5883b84..7582dbff

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8664&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8664&range=00-01

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8664.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8664/head:pull/8664

PR: https://git.openjdk.java.net/jdk/pull/8664


More information about the core-libs-dev mailing list