[infinispan-issues] [JBoss JIRA] (ISPN-5335) ConfigurationBuilder with custom interceptor leads to shared interceptor
William Burns (JIRA)
issues at jboss.org
Wed Apr 1 12:36:19 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns reopened ISPN-5335:
---------------------------------
There are a substantial amount of tests that rely on this behavior.
http://ci.infinispan.org/viewLog.html?buildId=24777&tab=buildResultsDiv&buildTypeId=bt8
This needs to be tweaked somehow still.
> 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