RFR: 8376582: Remove assert from default method in java.util.zip.Checksum interface

Eirik Bjørsnøs eirbjo at openjdk.org
Wed Jan 28 14:17:04 UTC 2026


On Wed, 28 Jan 2026 14:00:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I assume the intention was to mutation of buffer in another thread.

Right, that would be the only way to reach this state I presume, since Buffer itself seems designed to reject this state when accessed in a thread safe manner? 

_A buffer's position is never negative and is never  greater than its limit_

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29466#discussion_r2736842829


More information about the core-libs-dev mailing list