This was not a bug. According to SPL specification, only SPL expressions are allowed as arguments to the SPL basic collection operators. I think I mentioned this before.
Xiping From: David Wood/Watson/i...@ibmus To: imperius-dev@incubator.apache.org Cc: imperius-dev@incubator.apache.org Date: 10/07/2009 04:45 PM Subject: Re: [jira] Commented: (IMPERIUS-22) Java List objects as collections not supported? I don't believe this one was ever really fixed. It's more question of whether or not non-literal lists are allowed as arguments to the collection operators. David Wood Policy Technologies Group IBM TJ Watson Research Center daw...@us.ibm.com 914-784-5123 (office), 914-396-6515 (mobile) From: "Neeraj Joshi (JIRA)" <j...@apache.org> To: imperius-dev@incubator.apache.org Date: 10/07/2009 03:32 PM Subject: [jira] Commented: (IMPERIUS-22) Java List objects as collections not supported? [ https://issues.apache.org/jira/browse/IMPERIUS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763208#action_12763208 ] Neeraj Joshi commented on IMPERIUS-22: -------------------------------------- patch checked in by David Wood > Java List objects as collections not supported? > ----------------------------------------------- > > Key: IMPERIUS-22 > URL: https://issues.apache.org/jira/browse/IMPERIUS-22 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > > The following does not parse. Should it? > Import Class java.util.List:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > inCollection("1", list1) > } > Decision > { > list.get(1) > } > }:1; > However, it does parse if you change it to... > Import Class java.util.List:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > inCollection("1",[ "1", "2" ]) > } > Decision > { > list.get(1) > } > }:1; > Should we be able to pass java List objects as collections? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.