[jboss-jira] [JBoss JIRA] (DROOLS-697) Report an error when a declared type extends the wrong type

Mario Fusco (JIRA) issues at jboss.org
Mon Feb 16 03:52:49 EST 2015


     [ https://issues.jboss.org/browse/DROOLS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-697.
--------------------------------
    Fix Version/s:     (was: 6.2.0.Final)
       Resolution: Done


Fixed by https://github.com/droolsjbpm/drools/commit/7d4968808371a1bb9b61b50a6651707af432b56b

> Report an error when a declared type extends the wrong type
> -----------------------------------------------------------
>
>                 Key: DROOLS-697
>                 URL: https://issues.jboss.org/browse/DROOLS-697
>             Project: Drools
>          Issue Type: Enhancement
>    Affects Versions: 5.5.0.Final, 5.6.0.Final, 6.0.1.Final, 6.1.0.Final, 6.2.0.CR4
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>            Priority: Minor
>
> Declared pojos should extend regular classes, while declared traits should extend interfaces. The bean creation process does not enforce such a type check, possibly resulting in serious exceptions



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list