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

Markus KARG duke at openjdk.org
Fri Dec 15 08:31:02 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.

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

Commit messages:
 - Fixes JDK-8322141

Changes: https://git.openjdk.org/jdk/pull/17119/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17119&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322141
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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