[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1624) BRMS does not allow parametrized types in a rule's RHS.

Michael Neale (JIRA) jira-events at lists.jboss.org
Sun Jul 6 20:47:58 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBRULES-1624?page=comments#action_12420047 ] 
            
Michael Neale commented on JBRULES-1624:
----------------------------------------

yes the issue is with 1.5. Unfortunately this is due to some common versions of tomcat bundling old versions of JDT which won't work. 

I will look at switching this over to 1.5 soon.

In the meantime, you can set the system property: drools.dialect.java.compiler=ECLIPSE and it should use the 1.5 compiler.

> BRMS does not allow parametrized types in a rule's RHS.
> -------------------------------------------------------
>
>                 Key: JBRULES-1624
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1624
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-brms
>    Affects Versions: 4.0.7
>         Environment: Windows XP SP2, JDK 1.5.0_15, Apache Tomcat 6.0.16, BRMS 4.0.7
>            Reporter: Ivan Vasylivskyy
>         Assigned To: Michael Neale
>             Fix For: 4.0.8
>
>
> Rule validation fails if I use java generics in a rule's RHS, but this ok when using Drools without BRMS.
> Next error appears:
> "Rule Compilation error File *some file*, Line 9, Column 12: Expression "Map < String" is not a type

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list