[jboss-jira] [JBoss JIRA] (DROOLS-640) Exceptions when declaring a class with a subclass-typed attribute

Davide Sottara (JIRA) issues at jboss.org
Sun Oct 26 13:07:35 EDT 2014


Davide Sottara created DROOLS-640:
-------------------------------------

             Summary: 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: Mark Proctor
            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



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list