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

Davide Sottara (JIRA) jira-events at lists.jboss.org
Sat Apr 6 23:58:42 EDT 2013


Davide Sottara created DROOLS-99:
------------------------------------

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