[infinispan-issues] [JBoss JIRA] (ISPN-3025) NullMarkerEntry is singleton but can be changed - very error prone!
Pedro Ruivo (JIRA)
jira-events at lists.jboss.org
Mon Jul 1 08:03:20 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786460#comment-12786460 ]
Pedro Ruivo commented on ISPN-3025:
-----------------------------------
this may be fixed in https://github.com/infinispan/infinispan/pull/1937/ since this class is not used anymore (https://github.com/infinispan/infinispan/pull/1937/files#diff-13)
> NullMarkerEntry is singleton but can be changed - very error prone!
> -------------------------------------------------------------------
>
> Key: ISPN-3025
> URL: https://issues.jboss.org/browse/ISPN-3025
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.5.Final
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 6.0.0.Final
>
>
> NullMarkerEntry is singleton but almost all the flags it aggregates can be amended. this is dangerous as some code might read the e.g. isChanged() value in a total random manner.
--
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