Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-80

Lenient mode should not throw exception when {g,s}etting an undefined property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description


      In lenient mode, the Interpreter should not throw an exception when failing to access or set a property; this behavior is consistent with undefined variable handling & closer to 1.1 behavior. For arrays, this will avoid throwing when accessing past the boundaries.

      Attachments

        1. JEXL-80.patch
          4 kB
          Henri Biestro
        2. JEXL-80.patch
          4 kB
          Henri Biestro

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henrib Henri Biestro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: