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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 7.2.0.Beta2
    • 7.2.0.CR1
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: