]
Work on IPROTO-65 started by Adrian Nistor.
-------------------------------------------
WrappedMessage.writeMessage does not handle instances of Short, Byte,
Character
-------------------------------------------------------------------------------
Key: IPROTO-65
URL:
https://issues.jboss.org/browse/IPROTO-65
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.2.0.Final
Reporter: Ryan Emerson
Assignee: Adrian Nistor
Fix For: 4.3.0.Alpha1, 4.2.1.Final
Attempts to marshall instances of Short results in an IllegalArgumentException being
thrown:
{code}
java.lang.IllegalArgumentException: No marshaller registered for java.lang.Short
at
org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:288)
at org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:192)
at org.infinispan.protostream.ProtobufUtil.toWrappedByteArray(ProtobufUtil.java:167)
...
{code}