RFR: JDK-8322141: SequenceInputStream.transferTo should not return as soon as Long.MAX_VALUE bytes have been transferred [v3]

Markus KARG duke at openjdk.org
Fri Dec 15 18:37:53 UTC 2023


> Fixes JDK-8322141
> 
> As suggested by @vlsi and documented by @bplb this PR does not return, but only sets the maximum result value.

Markus KARG has updated the pull request incrementally with one additional commit since the last revision:

  New test asserts subsequent input stream is read when preceding stream already was MAX_VALUE long.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17119/files
  - new: https://git.openjdk.org/jdk/pull/17119/files/8181dccd..2aaac630

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

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

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


More information about the core-libs-dev mailing list