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

Getter, setter function name mangling issues

    XMLWordPrintable

Details

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

    Description


      jjs> function f(){ void {get ""(){}} }f()

      Expected: properly encoded byte code names
      Actual: `f$get \=` method name in generated code (null prefix `\=` within name)

      jjs> function f(){ void {get ":"(){}} }f()

      Expected: properly encoded byte code names
      Actual: `f$get \!` method name in generated code (missing null prefix `\=`)

      jjs> function f(){ return Object.getOwnPropertyDescriptor({get ":"(){}}, ":").get.name }f()

      Expected: don't return a mangled byte code name
      Actual: returns "get \!"

      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: