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

Jaikiran Pai jpai at openjdk.org
Wed Jun 29 14:22:44 UTC 2022


On Thu, 26 May 2022 23:20:27 GMT, liach <duke at openjdk.org> 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

Locally, I merged the latest master branch with this PR and then ran tier1, tier2 and tier3 tests. The tests passed without any related failures. I'll go ahead and sponsor this now.

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

PR: https://git.openjdk.org/jdk/pull/8281


More information about the core-libs-dev mailing list