]
Davide Sottara updated DROOLS-150:
----------------------------------
Issue Type: Bug (was: Feature Request)
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: Mark Proctor
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: