[ https://issues.apache.org/jira/browse/JEXL-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro resolved JEXL-149. -------------------------------- Resolution: Won't Fix Besides the fact that JEXL is not trying to implement EL, such a syntax is really hard to add since it clashes with blocks with one statement not ending with ';'. Incidentally, the javacc grammar included in the EL specification does not implement the set syntax. As a workaround, one can implement/expose a 'set' function in the global namespace to create sets. > Set Construction as per EL 3.0 spec > ----------------------------------- > > Key: JEXL-149 > URL: https://issues.apache.org/jira/browse/JEXL-149 > Project: Commons JEXL > Issue Type: New Feature > Affects Versions: 2.1.1, 3.0 > Reporter: Dmitri Blinov > Priority: Minor > > "EL 3.0 Spec Section 2.2.1 Set Construction" defines the possibility to > construct an instance of java.lang.util.Set<Object> by using syntax "{1, 2, > 3}", the strict grammar is given below. > 2.2.1.1 Syntax > SetData := ‘{‘ DataList ‘}’ > DataList := (expression (‘,’ expression)* )? -- This message was sent by Atlassian JIRA (v6.3.4#6332)