[infinispan-dev] Null values (somehow) allowed?
Galder Zamarreño
galder at redhat.com
Tue Jan 3 13:51:36 EST 2012
Hi all,
Related to https://issues.jboss.org/browse/ISPN-1661, the fix is clear, but how come didn't this blow before?
The following code works fine:
cache.put("hello", null);
I was always under the impression that null values (as well as null keys) were not accepted, which I think is good thing btw.
I'm pretty sure this check used to be in place before, but did we somehow lost it?
Anyway, I"m adding some tests in org.infinispan.api package.
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list