Callback parameter of any JS builtin implementation should accept any Callable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None
    • b121
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: