RFR: 8282662: Use List.of() factory method to reduce memory consumption [v3]

Сергей Цыпанов duke at openjdk.java.net
Mon May 16 15:32:41 UTC 2022


On Fri, 13 May 2022 13:36:52 GMT, ExE Boss <duke at openjdk.java.net> wrote:

> So if anything, the List.of(…) call should be moved into the ProxyMethod constructor. And maybe the call to Method.getExceptionTypes() should be changed to Method.getSharedExceptionTypes()

Makes sense. Do you want me to do this within this PR (this would be a deviation from ticket's target), or it's better to create another one?

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

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



More information about the security-dev mailing list