[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:53:49 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040377#comment-13040377 ] 

Mario Fusco edited comment on DROOLS-697 at 2/16/15 3:53 AM:
-------------------------------------------------------------

Fixed by https://github.com/droolsjbpm/drools/commit/3d07260e2978ec5721afc5141cc688058790481b


was (Author: mfusco):
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