ListAdapter should take advantage of JSObject

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b67
    • generic
    • generic

        Since JDK-8027150, ListAdapter's wrapped "obj" field will always be a JSObject. We should take advantage of that to simplify the code. Namely, we no longer have to use InvokeByName to retrieve the invoked functions. (We still need to use a dynamic invoker to actually invoke them, as theoretically they can be something other than mirrored ScriptFunction objects.)

              Assignee:
              Attila Szegedi
              Reporter:
              Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: