[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-242) MarshalledValue leaked to event listener implementations when lazy deserialization is on
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Fri Oct 30 13:33:06 EDT 2009
[ https://jira.jboss.org/jira/browse/ISPN-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreno resolved ISPN-242.
-----------------------------------
Resolution: Done
> MarshalledValue leaked to event listener implementations when lazy deserialization is on
> ----------------------------------------------------------------------------------------
>
> Key: ISPN-242
> URL: https://jira.jboss.org/jira/browse/ISPN-242
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners
> Affects Versions: 4.0.0.CR1
> Reporter: Galder Zamarreno
> Assignee: Galder Zamarreno
> Priority: Critical
> Fix For: 4.0.0.CR2
>
>
> I've noticed that when lazy deserialization is on and you use a user
> defined key, notification callbacks receive MarshalledValue instances
> within event.getKey() rather than instances of the user defined class.
> This forces listener code to be aware whether lazy deserialization is
> enabled or not, hence we're leaking an implementation detail to the
> client code.
> I think these callbacks should provide user defined class instances
> regardless of whether lazy deserialization is on or not.
> Manik: The event instance should be able to detect a MarshalledValue and
> return the actual key.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list