[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-core-libs-dev
Subject: Re: RFR: 8297632: InputStream.transferTo() method should specify what the return value should be whe
From: Lance Andersen <lancea () openjdk ! org>
Date: 2022-11-30 21:59:40
Message-ID: 2IRvbgl9d6ReX5gtz4nAowNhl64lHQOvgAJE4ew1hzg=.8c8194c4-3a09-4512-bc02-063c8747213e () github ! com
[Download RAW message or body]
On Wed, 30 Nov 2022 20:48:12 GMT, Brian Burkhalter <bpb@openjdk.org> wrote:
> > `java.io.InputStream::transferTo` could conceivably return a negative value if \
> > the count of bytes transferred overflows a `long`. Modify the method to limit the \
> > number of bytes transferred to `Long.MAX_VALUE` per invocation.
>
> Brian Burkhalter has updated the pull request incrementally with one additional \
> commit since the last revision:
> 8297632: Add verbiage to ZipInputStream::transferTo
Marked as reviewed by lancea (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11403
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic