On Thu, 9 Dec 2021 11:50:50 GMT, Сергей Цыпанов <d...@openjdk.java.net> wrote:
> `Executable.getParameterTypes()` creates a copy of underlying array which is > redundant in trusted code when we are sure the action is read-only. This pull request has now been integrated. Changeset: ece98d85 Author: Sergey Tsypanov <sergei.tsypa...@yandex.ru> Committer: Claes Redestad <redes...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/ece98d859d847196d298a28c1a095b09cebbee6f Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code Reviewed-by: redestad ------------- PR: https://git.openjdk.java.net/jdk/pull/6782