Done: https://issues.apache.org/jira/browse/IGNITE-1863
On Thu, Nov 5, 2015 at 4:49 PM, Vladimir Ozerov <[email protected]> wrote: > 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 > > > -- -- Pavel Tupitsyn GridGain Systems, Inc. www.gridgain.com
