[infinispan-issues] [JBoss JIRA] (ISPN-5335) ConfigurationBuilder with custom interceptor leads to shared interceptor

Tristan Tarrant (JIRA) issues at jboss.org
Mon Mar 30 07:47:18 EDT 2015


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

Tristan Tarrant updated ISPN-5335:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 7.2.0.Final
       Resolution: Done


> ConfigurationBuilder with custom interceptor leads to shared interceptor
> ------------------------------------------------------------------------
>
>                 Key: ISPN-5335
>                 URL: https://issues.jboss.org/browse/ISPN-5335
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>             Fix For: 7.2.0.Final
>
>
> If ConfigurationBuilder object with defined Interceptor (even through Parser) is reused in multiple classes, these classes have shared interceptor (which obviously breaks stuff). You cannot copy the ConfigurationBuilder in any way (such as creating configuration and reading it again) because the instance is never cloned/created anew.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list