[jboss-jira] [JBoss JIRA] Commented: (JBRULES-3147) Regression: all uppercase field reference results in compile error

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Thu Jul 28 01:17:32 EDT 2011


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

Wolfgang Laun commented on JBRULES-3147:
----------------------------------------

It seems that only constraints with '||' (and thus also 'in') are affected.
 

> Regression: all uppercase field reference results in compile error
> ------------------------------------------------------------------
>
>                 Key: JBRULES-3147
>                 URL: https://issues.jboss.org/browse/JBRULES-3147
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.2.0.Final
>            Reporter: Wolfgang Laun
>            Assignee: Mark Proctor
>             Fix For: 5.2.1.Final
>
>
> Consider the following ways of writing getters, setters and pattern field names 
>   element  xetter    field  5.1.1   5.3.0
> =============================================
>   state    xetstate  state    OK     OK
>   state    xetState  state    OK     OK
>   staTe    xetStaTe  staTe    OK     OK
>   state    xetSTATE  STATE    OK     ERR
> The last variation is a regression from 5.1.1. It is not so absurd - if the field is designated with an acronym (XML,...) this would be the natural way to write xetters and the pattern field.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list