]
William Burns reopened ISPN-5335:
---------------------------------
There are a substantial amount of tests that rely on this behavior.
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.