[jboss-jira] [JBoss JIRA] (DROOLS-150) Cannot declare an inner class type when the type is used in a rule
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Jul 9 09:01:23 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-150:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> Cannot declare an inner class type when the type is used in a rule
> ------------------------------------------------------------------
>
> Key: DROOLS-150
> URL: https://issues.jboss.org/browse/DROOLS-150
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.5.0.Final, 6.0.0.Beta2
> Reporter: Davide Sottara
> Assignee: Mario Fusco
> Fix For: 5.5.1.Final
>
>
> Local class names of (public static) inner classes are not resolved uniformly when looking up type declarations during the pattern compilation process
> That is:
> class Bar { public static class Foo {} }
> declare Foo @role(event) end
> rule X when Foo() then end
> the "declared" type is resolved as Bar.Foo in package com.sample, while the pattern looks for the declaration of Foo in the sampe package.
> (Notice that the fully qualified name is the same instead)
--
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