]
Mario Fusco reassigned DROOLS-640:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
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
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