[jboss-jira] [JBoss JIRA] (DROOLS-210) Prevent trait proxies from being traited
Davide Sottara (JIRA)
jira-events at lists.jboss.org
Fri Aug 2 19:30:26 EDT 2013
Davide Sottara created DROOLS-210:
-------------------------------------
Summary: 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: 6.0.0.CR1, 5.5.0.Final
Reporter: Davide Sottara
Assignee: Mark Proctor
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