RFR: 8294698: Remove unused 'checkedExceptions' param from MethodAccessorGenerator.generateMethod()
Claes Redestad
redestad at openjdk.org
Sun Oct 2 22:20:03 UTC 2022
On Sun, 2 Oct 2022 20:45:02 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:
> `checkedExceptions` param of `MethodAccessorGenerator.generateMethod()` is unused and should be removed in order to prevent allocations from `Method.getExceptionTypes()`
Seems reasonable, although these generators should only rarely be used when doing reflection. I'm curious if you have some test or micro where the improvement shows?
-------------
PR: https://git.openjdk.org/jdk/pull/10526
More information about the core-libs-dev
mailing list