Byteman
  1. Byteman
  2. BYTEMAN-202

Bit shift operators within action expression result in parse errors

    Details

    • Similar Issues:
      Show 10 results 

      Description

      An expression like this one:

      System.out.println("IM=" + Integer.valueOf(($foo & $bar) >> Integer.numberOfTrailingZeros($abc)));
      

      in a rule, fails to parse due to the presence of bit shift operators.

      The referenced forum thread has more details.

        Activity

        Hide
        Andrew Dinn
        added a comment -

        Fixed and test case provided
        Also fixed some errors in bit OR/AND/XOR at the same time.

        Show
        Andrew Dinn
        added a comment - Fixed and test case provided Also fixed some errors in bit OR/AND/XOR at the same time.
        Hide
        Andrew Dinn
        added a comment -

        to set fix version

        Show
        Andrew Dinn
        added a comment - to set fix version
        Hide
        Andrew Dinn
        added a comment -

        Updated admin fields

        Show
        Andrew Dinn
        added a comment - Updated admin fields

          People

          • Assignee:
            Andrew Dinn
            Reporter:
            jaikiran pai
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: