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

Callback parameter of any JS builtin implementation should accept any Callable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: