I believe this is bug. Could you please create a ticket for this?

On Thu, Nov 5, 2015 at 11:12 AM, Pavel Tupitsyn <[email protected]>
wrote:

> Igniters,
>
> Looks like GridCacheAtomicReferenceImpl.compareAndSet does not work with
> nulls properly.
> Null is a valid value for an atomic reference, but for a reference with a
> null value
> compareAndSet(null, x) returns false. See wrapperPredicate func (line 204).
>
> Is this a bug or an expected behavior?
>
> Thanks,
>
> --
> --
> Pavel Tupitsyn
> GridGain Systems, Inc.
> www.gridgain.com
>

Reply via email to