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

PersistenceMarshallerImpl should not wrap objects when no user marshaller is configured

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.CR2
    • 10.0.0.CR1
    • Core
    • None

    Description

      Currently the PersistenceMarshallerImpl still tries to wrap values that are not in it's SerializationContext even when protostream is to be used directly for user types. This does not make sense, as it will results in a NPE due to a delegate user marshaller not existing. Instead, if protostream is to be used for delegate types the PersistenceMarshallerImpl should state that java primitive values can be marshalled and no wrapping should be attempted.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: