On Fri, 16 Oct 2026 05:19:50 GMT, Benjamin Peterson <[email protected]> wrote:
> The branch removed here is dead because `read()` should never return `0` if > `remaining > 0`. The dead code also had a bug: Casting the `int` result of > `read()` to `byte` is wrong when the result is 255. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/33401
