Integrated: 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code
Сергей Цыпанов
duke at openjdk.java.net
Wed Jan 12 10:20:28 UTC 2022
On Thu, 9 Dec 2021 11:50:50 GMT, Сергей Цыпанов <duke at 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.tsypanov at yandex.ru>
Committer: Claes Redestad <redestad at 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
More information about the core-libs-dev
mailing list