[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-157) MarshalledValueInterceptor does not override visitEvictCommand

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Aug 18 11:38:26 EDT 2009


     [ https://jira.jboss.org/jira/browse/ISPN-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno resolved ISPN-157.
-----------------------------------

    Resolution: Done


> MarshalledValueInterceptor does not override visitEvictCommand
> --------------------------------------------------------------
>
>                 Key: ISPN-157
>                 URL: https://jira.jboss.org/jira/browse/ISPN-157
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Eviction
>    Affects Versions: 4.0.0.ALPHA6
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.0.0.BETA1
>
>
> Tests like this fail because the key being looked up hasn't been wrapped around a MarshalledValue, which should the job of MarshalledValueInterceptor.visitEvictCommand override:
>    public void testEvictMarshalledValue() {
>       Pojo pojo = new Pojo();
>       cache1.put(pojo, pojo);
>       cache1.evict(pojo);
>       assert !cache1.containsKey(pojo);
>    }

-- 
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