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

Map access operator does not work if key name clashes with map property name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None

    Description

      The following example returns false, according to documentation should return 2.

      i = new ("java.util.HashMap"); i.a = 1; i["empty"] = 2; i["empty"]

      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: