RFR: 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE [v7]

Markus KARG duke at openjdk.org
Fri Dec 15 08:31:55 UTC 2023


On Thu, 14 Dec 2023 20:21:10 GMT, Vladimir Sitnikov <vsitnikov at openjdk.org> wrote:

>>> What do you think?
>> 
>> I think that you are looking at an obsolete repository:
>> 
>> https://github.com/openjdk/jdk/blob/c328f9589ddc3a981a2c63801bd991f8e593e69f/src/java.base/share/classes/java/io/InputStream.java#L802
>
> I mean SequenceInputStream, not the base class: https://github.com/openjdk/jdk/blob/c328f9589ddc3a981a2c63801bd991f8e593e69f/src/java.base/share/classes/java/io/SequenceInputStream.java#L249
> 
> Could you please double-check?

The solution proposed by @vlsi and outlined by @bplb in [JDK-8322141](https://bugs.openjdk.org/browse/JDK-8322141) now can be reviewed in https://github.com/openjdk/jdk/pull/17119. I suggest to continue the discussion *there*.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/11403#discussion_r1427692263


More information about the core-libs-dev mailing list