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 23:07:38 UTC 2023


On Fri, 15 Dec 2023 22:40:17 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> This test does not fail for me when run against my local build of the current mainline. Usually, unless randomness is involved, a test should fail before the proposed patch is applied but succeed thereafter.

This is weird. How could that code ever pass without the patch?

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

PR Comment: https://git.openjdk.org/jdk/pull/17119#issuecomment-1858590771


More information about the core-libs-dev mailing list