Integrated: 8284942: Proxy building can just iterate superinterfaces once

liach duke at openjdk.org
Wed Jun 29 14:26:43 UTC 2022


On Mon, 18 Apr 2022 06:15:54 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.

This pull request has now been integrated.

Changeset: 0709a6a1
Author:    liach <liach at users.noreply.github.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0709a6a1fb6bfc8aecde7eb827d1628e181e3253
Stats:     74 lines in 1 file changed: 19 ins; 22 del; 33 mod

8284942: Proxy building can just iterate superinterfaces once

Reviewed-by: mchung

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

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


More information about the core-libs-dev mailing list