]
Dan Berindei updated ISPN-9500:
-------------------------------
Status: Open (was: New)
ConcurrentSmallIntSet.clear() does not always set the size to 0
---------------------------------------------------------------
Key: ISPN-9500
URL:
https://issues.jboss.org/browse/ISPN-9500
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.4.0.Final
{{ConcurrentSmallIntSet.clear()}} processes the array values with a loop that stops when
{{value <= 0}}. This breaks when the highest bit is set, leaving the set empty but with
{{size() > 0}} and {{isEmpty() == false}}.