[infinispan-issues] [JBoss JIRA] (ISPN-2839) Method boolean Cache.replace(K key, V oldValue, V value) (and variants) should guard against null oldValue parameter
Adrian Nistor (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 12:52:56 EST 2013
Adrian Nistor created ISPN-2839:
-----------------------------------
Summary: Method boolean Cache.replace(K key, V oldValue, V value) (and variants) should guard against null oldValue parameter
Key: ISPN-2839
URL: https://issues.jboss.org/browse/ISPN-2839
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.2.1.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Priority: Minor
Fix For: 5.3.0.Alpha1
The null check is not done explicitly but it will accidentally fail with NPE when trying to cast the result of the execution of ReplaceCommand to a Boolean.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list