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

ListAdapter should take advantage of JSObject

XMLWordPrintable

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

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

                Created:
                Updated:
                Resolved: