Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019398 nashorn-dev spec corner, review bugs
  3. JDK-8020354

Object literal property initialization is not done in source order

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • core-libs
    • None
    • b100
    • generic
    • generic
    • Verified

    Description


      >> jjs> ({a: print(1), b: print(2), a: print(3)})
      >> 1
      >> 3
      >> 2
      >> => should print "1-2-3" instead of "1-3-2"
      >>

      Attachments

        Activity

          People

            hannesw Hannes Wallnoefer
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: