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

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Wed Jul 20 13:48:23 EDT 2011


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