[
https://issues.jboss.org/browse/ISPN-2839?page=com.atlassian.jira.plugin....
]
Galder Zamarreño updated ISPN-2839:
-----------------------------------
Fix Version/s: 5.3.0.Alpha1
I guess it'll be included in Alpha1 too? :)
Thanks for fixing this, JSR-107 checks that too, so glad you fixed it.
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
Labels: 5.2.x
Fix For: 5.2.2.Final, 5.3.0.Alpha1, 5.3.0.Final
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