]
Mario Fusco resolved DROOLS-640.
--------------------------------
Fix Version/s: 6.2.0.CR2
Resolution: Done
Fixed by
Exceptions when declaring a class with a subclass-typed attribute
-----------------------------------------------------------------
Key: DROOLS-640
URL:
https://issues.jboss.org/browse/DROOLS-640
Project: Drools
Issue Type: Bug
Reporter: Davide Sottara
Assignee: Mario Fusco
Priority: Critical
Fix For: 6.2.0.CR2
the following model, legal in Java, throws exceptions when declared in DRL:
{code}
declare A
field : B
end
declare B extends A
end
{code}
A circular dependency is detected, which prevents the classes from being generated. Based
on the use of those classes, exceptions may be thrown