[jboss-jira] [JBoss JIRA] Closed: (JBRULES-696) ClassCastException for ShadowProxies when using hirarchy of classes

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Feb 21 13:36:35 EST 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-696?page=all ]

Edson Tirelli closed JBRULES-696.
---------------------------------

    Resolution: Done

------------------------------------------------------------------------
r9680 | tirelli | 2007-02-21 15:33:20 -0300 (Wed, 21 Feb 2007) | 1 line
Changed paths:
   A /labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/Child.java
   A /labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/GrandParent.java
   A /labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/Parent.java
   M /labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
   A /labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ShadowProxyInHirarchies.drl
   M /labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ClassFieldExtractorFactory.java
   M /labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/ObjectTypeNode.java

JBRULES-696: fixing ClassCastException when using shadow proxies for object hirarchies
------------------------------------------------------------------------

> ClassCastException for ShadowProxies when using hirarchy of classes
> -------------------------------------------------------------------
>
>                 Key: JBRULES-696
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-696
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Reteoo
>    Affects Versions: 3.1-m1
>            Reporter: Edson Tirelli
>         Assigned To: Edson Tirelli
>            Priority: Critical
>             Fix For: 3.1-m2
>
>
> The core engine is raising ClassCastExceptions when a fact is asserted and there are rules matching different classes in this fact hirarchy, possibly assigning a shadow proxy for it that is not the most specialized proxy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list