]
Nistor Adrian updated IPROTO-181:
---------------------------------
Sprint: DataGrid Sprint #56
WrappedMessage.wrappedInstantNanos cannot be part of the
scalarOrMessage oneof
------------------------------------------------------------------------------
Key: IPROTO-181
URL:
https://issues.redhat.com/browse/IPROTO-181
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.2.2.Final, 4.3.0.Alpha1
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Priority: Major
Fix For: 4.4.0.Final
Fields {color:#000000}wrappedInstantSeconds and {color}{color:#000000}wrappedInstantNanos
{color}should be used together but it is illegal since it's a oneof. This definition
is wrong and the error was not spotted in time because WrappedMessage is entirely
handcoded.
To fix this, one of the fields must become an optional field outside the oneof and keep
the same field number to ensure compatibility.