RFR: 8284942: Proxy building can just iterate superinterfaces once [v6]

Mandy Chung mchung at openjdk.java.net
Tue May 31 19:37:43 UTC 2022


On Thu, 26 May 2022 23:20:27 GMT, liach <duke at openjdk.java.net> wrote:

>> 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.
>> 
>> Split from #8278. Helpful for moving proxies to hidden classes, but is a good cleanup on its own.
>
> liach has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixes suggested by mandy

Looks good.  Thanks.

-------------

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8281


More information about the core-libs-dev mailing list