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
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.