Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-91

compilation problem in case of minus operator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7
    • ExpressionCompiler
    • None

    Description

      I'm unable to write a simple test case for it but in an application:

      currentValue+1

      compiles to

      { return ($w) ((($SomeClass_66)$2).getCurrentValue() + 1);}

      but the expression

      currentValue-1

      compiles to

      { return ($w) (4);}

      so in case of the minus operator the actual value is inserted into the expression.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            snorbi Norbert Sándor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: