[infinispan-issues] [JBoss JIRA] (ISPN-10590) PersistenceMarshallerImpl should not wrap objects when no user marshaller is configured
Tristan Tarrant (Jira)
issues at jboss.org
Fri Nov 22 04:59:29 EST 2019
[ https://issues.jboss.org/browse/ISPN-10590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-10590:
-----------------------------------
Sprint: DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37 (was: DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36)
> 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.8#713008)
More information about the infinispan-issues
mailing list