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

ListAdapter should take advantage of JSObject

    XMLWordPrintable

    Details

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

      Backports

        Description

        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.)

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: