[jboss-jira] [JBoss JIRA] (DROOLS-210) Prevent trait proxies from being traited

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon Aug 5 12:33:26 EDT 2013


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

Mario Fusco resolved DROOLS-210.
--------------------------------

    Resolution: Done

    
> Prevent trait proxies from being traited
> ----------------------------------------
>
>                 Key: DROOLS-210
>                 URL: https://issues.jboss.org/browse/DROOLS-210
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final, 6.0.0.CR1
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>            Priority: Minor
>             Fix For: 5.5.1.Final, 6.0.0.CR2
>
>
> Lack of type safety may lead to trait proxies being traited, rather than the wrapped, core objects:
> Object t1 = don( k, X.class ) 
> Object t2 = don( t1, Y.class ) <-- should trait k, not t1!
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list