]
Adrian Nistor updated IPROTO-81:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated in master.
SerializationContext.registerMarshaller should unregister the
previous Java type (if any)
-----------------------------------------------------------------------------------------
Key: IPROTO-81
URL:
https://issues.jboss.org/browse/IPROTO-81
Project: Infinispan ProtoStream
Issue Type: Bug
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Priority: Major
Fix For: 4.3.0.Alpha1
If the previous Java type is different it is not removed and still appears to be
registered and SerializationContext.canMarshall(previousJavaType) wrongly returns true.