From imperius-dev-return-385-apmail-incubator-imperius-dev-archive=incubator.apache.org@incubator.apache.org Thu Apr 02 14:43:36 2009 Return-Path: Delivered-To: apmail-incubator-imperius-dev-archive@minotaur.apache.org Received: (qmail 77026 invoked from network); 2 Apr 2009 14:43:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 14:43:36 -0000 Received: (qmail 29991 invoked by uid 500); 2 Apr 2009 14:43:36 -0000 Delivered-To: apmail-incubator-imperius-dev-archive@incubator.apache.org Received: (qmail 29963 invoked by uid 500); 2 Apr 2009 14:43:36 -0000 Mailing-List: contact imperius-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: imperius-dev@incubator.apache.org Delivered-To: mailing list imperius-dev@incubator.apache.org Received: (qmail 29948 invoked by uid 99); 2 Apr 2009 14:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:43:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:43:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1240C234C055 for ; Thu, 2 Apr 2009 07:43:13 -0700 (PDT) Message-ID: <1753683520.1238683393073.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 07:43:13 -0700 (PDT) From: "David Wood (JIRA)" To: imperius-dev@incubator.apache.org Subject: [jira] Reopened: (IMPERIUS-26) Argument parsing for reference to toString() is wrong In-Reply-To: <1926610009.1236797330584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Wood reopened IMPERIUS-26: -------------------------------- This was initially only fixed in the Condition statement. I fix is also needed in the decision statement. > Argument parsing for reference to toString() is wrong > ----------------------------------------------------- > > Key: IMPERIUS-26 > URL: https://issues.apache.org/jira/browse/IMPERIUS-26 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > Attachments: cimspl.tree.g > > > With the following policy: > Import Class java.util.Properties:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > list1.get("Foo").toString() == "something" > } > Decision > { > list1.toString() > } > }:1; > I get > Number of Formal and passed parameters don't match for method toString > This code used throw an exception (not sure why it's not now). This is produced based on a problem we are seeing with some other classes which DOES throw the exception. In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.