[jboss-jira] [JBoss JIRA] (JBRULES-3229) Stack overflow using recursive types

Mario Fusco (JIRA) jira-events at lists.jboss.org
Fri Jan 27 15:03:48 EST 2012


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

Mario Fusco resolved JBRULES-3229.
----------------------------------

    Fix Version/s: 5.4.0.Beta3
       Resolution: Done


Fixed also for circular type declarations like in:

declare FactA
    fieldB: FactB
end
declare FactB
    fieldA: FactA
end
                
> Stack overflow using recursive types
> ------------------------------------
>
>                 Key: JBRULES-3229
>                 URL: https://issues.jboss.org/browse/JBRULES-3229
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Michael Anstis
>            Assignee: Mario Fusco
>             Fix For: 5.4.0.Beta3
>
>
> The following DRL produces a stack overflow in org.drools.compiler.PackageBuilder$Node.accept(PackageBuilder.java:2684):-
> package com.sample
> declare Type
> 	child: Type
> end
> rule "test"
> 	when
> 	Type( )
> 	then
> end

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list