Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024971 Fuzzing results on nashorn by Andre
  3. JDK-8026302

source representation of getter and setter methods is wrong

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b113
    • generic
    • generic

    Description

      jjs> function f(){ return Object.getOwnPropertyDescriptor({set ":"(a){}}, ":").set }f()

      Expected: include leading `"` in function source representation
      Actual: returns `:"(a){}`

      - Andre

      Even without funny names, simple getter, setter source representation leaves "set" and "get" - would be better to uniformly include "get" or "set" in source representation.

      Attachments

        Activity

          People

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: