]
Adrian Nistor reassigned IPROTO-8:
----------------------------------
Assignee: Adrian Nistor
Default value for enums should not accept strings
-------------------------------------------------
Key: IPROTO-8
URL:
https://issues.jboss.org/browse/IPROTO-8
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 3.0.5.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
The only acceptable default value should be an identifier (no quotes) which is one of the
possible values of the enum. Currently we also accept a string literal, but this is due to
a bug in protoparser lib.