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

bind on built-in constructors don't use bound argument values

    XMLWordPrintable

Details

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

    Description


      >>
      >> jjs> RegExp.bind(null, "a")().source.length
      >> 0
      >> => should return 1 instead of 0
      >>
      >> jjs> Array.bind(null, 2)().length
      >> 0
      >> => should return 2 instead of 0
      >>

      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: