Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5351

read()ing protected Attributes should support user-supplied copying methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.CR1
    • 7.2.0.Beta2
    • None
    • None

      Cloning a configuration attribute sometimes is not enough. For example when dealing with collections and immutable types we need to overcome the following:

      Caused by: java.lang.UnsupportedOperationException
      at org.infinispan.commons.util.Immutables$ImmutableTypedProperties.put(Immutables.java:622)
      at org.infinispan.configuration.cache.IndexingConfigurationBuilder.setProperty(IndexingConfigurationBuilder.java:130)
      at org.infinispan.configuration.cache.IndexingConfigurationBuilder.addProperty(IndexingConfigurationBuilder.java:107)

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: