Unable to find class when extending a bean with a declared class as a field
---------------------------------------------------------------------------
Key: JBRULES-3191
URL:
https://issues.jboss.org/browse/JBRULES-3191
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert), drools-compiler-DSL
Affects Versions: 5.2.0.Final
Environment: java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
Description: Ubuntu 10.04.3 LTS
Reporter: Carlos Sierra
Assignee: Mark Proctor
If you declare a Class in a DRL and try to declare a new Class extending a Bean having
your first declared class as an attribute the compiler complains it cannot find the
declared class. However if you remove the "extends" keyword the the class is
found without problems.
I attach a testcase to reproduce the bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira