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

Unsolvable function/method '<?>.<null>(...)'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.1
    • None

    Description

      The following code throws error Unsolvable function/method

      x = new('java.util.HashMap'); x.a = function() {return 1}; x['a']()
      

      while the following code evaluates as expected

      x = new('java.util.HashMap'); x.a = function() {return 1}; x.a()
      

      and returns 1

      Attachments

        Activity

          People

            henrib Henri Biestro
            dmitri_blinov Dmitri Blinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: