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

$ in the function name results in wrong function being invoked

    XMLWordPrintable

Details

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

    Description


      jjs> function f(){ function g(){return 0} function g(){return 1} function g$1(){return 2}; return g$1() }f()

      Expected: returns 2
      Actual: returns 1

      jjs> function f(){ function g(){return 0} var h=function g(){return 1}; function g$1(){return 2}; return h() }f()

      Expected: returns 1
      Actual: returns 2

      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: