You are viewing a plain text version of this content. The canonical link for it is here.
Posted to imperius-dev@incubator.apache.org by "David Wood (JIRA)" <ji...@apache.org> on 2009/09/25 13:26:16 UTC

[jira] Updated: (IMPERIUS-30) Method overloading or type matching problem in Java binding

     [ https://issues.apache.org/jira/browse/IMPERIUS-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Wood updated IMPERIUS-30:
-------------------------------

    Attachment: Imperius30.java

> Method overloading or type matching problem in Java binding
> -----------------------------------------------------------
>
>                 Key: IMPERIUS-30
>                 URL: https://issues.apache.org/jira/browse/IMPERIUS-30
>             Project: Imperius
>          Issue Type: Bug
>         Environment: Windows, Java 1.5.
>            Reporter: David Wood
>            Assignee: Bill Stoddard
>         Attachments: Imperius30.java
>
>
> This may be related to Imperius-28 and Imperius-20 which involve type matching problems.  The problem seems to arise because outputStream is passed in as a PrintStream (see the attached code).
> Parsing...
> Import Class java.util.Properties:properties;
> Import Class java.io.OutputStream:outputStream;
> Strategy Execute_All_Applicable;
> Policy {
> Condition { 1 == 1  }
> Decision { properties.store(outputStream, "Some comment") }
> }:1;
> Exception in thread "main" org.apache.imperius.spl.parser.exceptions.SPLException: Error encountered while parsing tree
> 	at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.parseFile(PolicyParserImpl.java:166)
> 	at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.createInternalPolicyObject(PolicyParserImpl.java:96)
> 	at com.ibm.watson.pml.bugs.ImperiusXX.main(ImperiusXX.java:53)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


merged Imperius has checked in

Posted by Xiping Wang <xi...@us.ibm.com>.
Neeraj,

We've checked in the merged version of Imperius that includes bug fixes and
hooks for supporting policy analysis and transformation which are available
from IBM alphaworks. So, you can start to generate a release now.

For some reason, my svn password still does not work. I wonder if someone
could reset it for me again.

Xiping