[infinispan-issues] [JBoss JIRA] (ISPN-10590) PersistenceMarshallerImpl should not wrap objects when no user marshaller is configured

Ryan Emerson (Jira) issues at jboss.org
Thu Sep 12 12:35:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-10590:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/7264


> PersistenceMarshallerImpl should not wrap objects when no user marshaller is configured
> ---------------------------------------------------------------------------------------
>
>                 Key: ISPN-10590
>                 URL: https://issues.jboss.org/browse/ISPN-10590
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 10.0.0.CR1
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 10.0.0.CR2
>
>
> 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.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the infinispan-issues mailing list