You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Roaring64Bitmap.remove loses the replacement container at the bitmap-to-array threshold #852
Removing an element at the bitmap-to-array threshold leaves the old container installed. A subsequent portable round-trip changes the bitmap's contents.
This input is built entirely through public mutation APIs; the bytes are produced by serializePortable itself, not supplied as malformed external data.
Expected: restored equals the original and contains 2. Actual: equal=false and contains(2)=false. Reproduced with 1.6.22 and current master on Java 21.
remove(long) ignores the replacement returned by Container.remove, while removeLong(long) already installs it. Delegating to removeLong fixes the round-trip.
Activity