[jboss-jira] [JBoss JIRA] (DROOLS-150) Cannot declare an inner class type when the type is used in a rule
Davide Sottara (JIRA)
jira-events at lists.jboss.org
Tue May 28 05:43:06 EDT 2013
Davide Sottara created DROOLS-150:
-------------------------------------
Summary: 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: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.Beta2, 5.5.0.Final
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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list