[JBoss JIRA] (IPROTO-58) Deprecate @ProtoEnum and @ProtoMessage in favor of @ProtoName
by Adrian Nistor (JIRA)
Adrian Nistor created IPROTO-58:
-----------------------------------
Summary: Deprecate @ProtoEnum and @ProtoMessage in favor of @ProtoName
Key: IPROTO-58
URL: https://issues.jboss.org/browse/IPROTO-58
Project: Infinispan ProtoStream
Issue Type: Enhancement
Reporter: Adrian Nistor
@ProtoEnum and @ProtoMessage annotations were used just for specifying a name to be used instead of the class name. They are now unified into @ProtoName to be used for both enums and messge types. The old annotations are still preserved and marked deprecated.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 6 months
[JBoss JIRA] (IPROTO-57) SerializationContext.canMarshall(String typeName) implementation does not follow documented contract
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-57?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-57:
--------------------------------
Summary: SerializationContext.canMarshall(String typeName) implementation does not follow documented contract (was: SerializationContext.canMarshall(Stringg typeName) implementation does not follow documented contract)
> SerializationContext.canMarshall(String typeName) implementation does not follow documented contract
> ----------------------------------------------------------------------------------------------------
>
> Key: IPROTO-57
> URL: https://issues.jboss.org/browse/IPROTO-57
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.5.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.3.0.Alpha1
>
>
> Current implementation just checks if the given protobuf type name was defined in a schema file and does not also check if a marshaller was registered for it. This is a known bug that was tolerated because fixing it would break Infinispan 8.x which mistakenly took advantage of this bug. This is no longer an issue for later Infinispan versions so it is time to fix it properly.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 6 months