[ https://issues.apache.org/jira/browse/FELIX-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021580#comment-13021580 ]
Karl Pauls commented on FELIX-2922: ----------------------------------- Yeah, i guess you're right. Looks like a bug. I'll try to get to it soon. Thanks for reporting. Workaround for now is to just always give a name right? > ArrayIndexOutOfBoundsException when specifying no name > ------------------------------------------------------ > > Key: FELIX-2922 > URL: https://issues.apache.org/jira/browse/FELIX-2922 > Project: Felix > Issue Type: Bug > Components: Conditional Permission Admin > Affects Versions: framework.security-1.4.1 > Reporter: Andie Similon > Assignee: Karl Pauls > Priority: Minor > > When parsing a encoded string without a name in the constructor of > ConditionalPermissionInfoImpl you get a ArrayIndexOutOfBoundsException. If > I'm correct the syntax in the specification is: > policy ::= access '{' conditions permissions'}' name? > access ::= 'ALLOW' | 'DENY' // case insensitive > name ::= quoted-string > doesn't that make the name optional? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira