Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8157680

Callback parameter of any JS builtin implementation should accept any Callable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b121
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Many JS builtin functions have callback function arguments. Nashorn allows any Callable to be passed in certain places. In few place, it is expected to be a ScriptFunction! We should uniformly allow any Callable to be passed as callback argument for all JS builtin functions.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9c62b456f075
          User: sundar
          Date: 2016-05-25 09:45:06 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9c62b456f075 User: sundar Date: 2016-05-25 09:45:06 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/9c62b456f075
          User: lana
          Date: 2016-06-01 18:59:18 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/9c62b456f075 User: lana Date: 2016-06-01 18:59:18 +0000

            People

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

              Dates

              • Created:
                Updated:
                Resolved: