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

Davide Sottara (JIRA) jira-events at lists.jboss.org
Sun Apr 7 00:13:41 EDT 2013


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

Davide Sottara closed DROOLS-98.
--------------------------------

    Resolution: Duplicate Issue


Created twice as DROOLS-99 due to a browser glitch
                
> TypeDeclarations for Java classes used in Patterns are created in the wrong package
> -----------------------------------------------------------------------------------
>
>                 Key: DROOLS-98
>                 URL: https://issues.jboss.org/browse/DROOLS-98
>             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.Beta1
>
>
> 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 org.drools.Cheese is generated, but ends up being
> attached to the rule package "my.test" instead of the natural class package 
> "org.drools".
> This prevents an efficient later lookup of the declaration using the class
> name.  

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