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

Markus KARG duke at openjdk.org
Sat Dec 16 14:07:52 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:

  Test was using Integer but must use Long

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

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

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

  Stats: 18 lines in 1 file changed: 10 ins; 0 del; 8 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