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:54 UTC 2023


On Fri, 15 Dec 2023 18:21:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> > [...] maybe we need to come up with tests that quickly check the handling at this limit.

> @mkarg Do you intend to provide any such test as part of this request?

@bplb I quickly drafted an absolute minimal test for this in [2aaac63](https://github.com/openjdk/jdk/pull/17119/commits/2aaac630a3e6d1df0fd77f6b34c0f0d3a3b50292). IMHO this is sufficient for the current case.

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

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


More information about the core-libs-dev mailing list