[jboss-jira] [JBoss JIRA] (DROOLS-249) Handle conflicts when using @position in declared types

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Oct 22 03:17:02 EDT 2013


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

RH Bugzilla Integration updated DROOLS-249:
-------------------------------------------

        Bugzilla Update: Perform
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1021812

    
> Handle conflicts when using @position in declared types
> -------------------------------------------------------
>
>                 Key: DROOLS-249
>                 URL: https://issues.jboss.org/browse/DROOLS-249
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final, 6.0.0.CR2
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>            Priority: Minor
>             Fix For: 5.5.1.Final, 6.0.0.Final
>
>
> declare A
>  f : int @position(2)
>  g : int @position(1)
> end
> declare B extends A
>  h : int @position(3)
>  i : int @position(2)
> end
> The resulting field order may not be deterministic because of
>  - the clashes (2)
>  - the missing pos (0)
> this is dangerous when used with positional constraints
> B( $x, $y, $z, $w ; )
> Marked as minor because of the obvious workaround

--
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