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

Proxy building can just iterate superinterfaces once

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: