[infinispan-issues] [JBoss JIRA] (ISPN-10590) PersistenceMarshallerImpl should not attempt to wrap primitives when protostream is used for user types
Ryan Emerson (Jira)
issues at jboss.org
Thu Sep 12 05:45:06 EDT 2019
Ryan Emerson created ISPN-10590:
-----------------------------------
Summary: PersistenceMarshallerImpl should not attempt to wrap primitives when protostream is used for user types
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
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