]
Mario Fusco reassigned DROOLS-291:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
ClassCastException during constraint jitting when an interface is
used for implementation and traiting
------------------------------------------------------------------------------------------------------
Key: DROOLS-291
URL:
https://issues.jboss.org/browse/DROOLS-291
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Final, 6.0.0.CR4
Reporter: Davide Sottara
Assignee: Mario Fusco
Priority: Critical
The following combination is needed:
- an interface IX with at least one getter/setter pair
- a trait IY extending IX
- a class K implementing IX
- a jittable constraint on IX
The constraint is first triggered by an "instance" of IY,
but jitted by an instance of K.
The condition analyzer assumes that IY is the natural
domain of the constratint, rather than IX. The jitted
constraint will then try to cast K to IY, resulting in
a disruptive CCE
--
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: