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

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Nov 22 08:45:07 EST 2013


    [ https://issues.jboss.org/browse/DROOLS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926094#comment-12926094 ] 

RH Bugzilla Integration commented on DROOLS-249:
------------------------------------------------

Ryan Zhang <rzhang at redhat.com> changed the Status of [bug 1021812|https://bugzilla.redhat.com/show_bug.cgi?id=1021812] from MODIFIED to ON_QA
                
> 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