On Tue, 20 Feb 2024 13:29:28 GMT, Eirik Bjørsnøs <eir...@openjdk.org> wrote:
> Should these methods specify return values when the number of processed bytes > exceed Integer.MAX_VALUE? I think they should, otherwise it's not clear if the return value is clamped at Integer.MAX_VALUE. The wording can make it clear that the return value is useless in cases where the total exceeds Integer.MAX_VALUE. (The wording that you have for the deprecation text looks fine). ------------- PR Comment: https://git.openjdk.org/jdk/pull/17919#issuecomment-1954323561