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

Proxy building can just iterate superinterfaces once

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 18
    • core-libs

      Currently, in ProxyBuilder::mapToModule and ProxyBuilder::defineProxyClass, the interfaces are iterated twice. The two passes can be merged into one, yielding the whole proxy definition context (module, package, whether there's package-private interface) when determining the module.

      This cleanup may ease the implementation of JDK-8242888 as well.

            jpai Jaikiran Pai
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: