[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:12:00 EDT 2016
[ https://issues.jboss.org/browse/IPROTO-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list