[jboss-jira] [JBoss JIRA] (DROOLS-99) TypeDeclarations for Java classes used in Patterns are created in the wrong package

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon Apr 8 09:06:42 EDT 2013


     [ https://issues.jboss.org/browse/DROOLS-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-99.
-------------------------------

    Fix Version/s: 6.0.0.Beta2
                       (was: 6.0.0.Beta1)
       Resolution: Done

    
> TypeDeclarations for Java classes used in Patterns are created in the wrong package
> -----------------------------------------------------------------------------------
>
>                 Key: DROOLS-99
>                 URL: https://issues.jboss.org/browse/DROOLS-99
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5, 6.0.0.Alpha1
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>             Fix For: 5.6, 6.0.0.Beta2
>
>
> when a rule uses a java class in a pattern:
> package my.test;
> import org.drools.Cheese;
> rule R when Cheese() then end
> a TypeDeclaration for that class (e.g.Cheese) is created, but is assigned
> to the rule package ("my.test") rather than to the natural class package
> ("org.drools"). This prevents an efficient later lookup of the typeDeclaration
> using the class name as a key.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list