[infinispan-issues] [JBoss JIRA] (IPROTO-8) Default value for enums should not accept strings

Adrian Nistor (JIRA) issues at jboss.org
Wed Jun 29 10:11:00 EDT 2016


Adrian Nistor created IPROTO-8:
----------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list