[jboss-jira] [JBoss JIRA] (DROOLS-640) Exceptions when declaring a class with a subclass-typed attribute
Mario Fusco (JIRA)
issues at jboss.org
Mon Oct 27 06:47:35 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-640.
--------------------------------
Fix Version/s: 6.2.0.CR2
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/commit/92055be90
> 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
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list