Integrated: 8287908: Use non-cloning reflection methods where acceptable

Сергей Цыпанов duke at openjdk.org
Mon Sep 12 13:35:49 UTC 2022


On Tue, 7 Jun 2022 13:45:06 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:

> Instead of `Executable.getParameterTypes()` we could use `Executable.getSharedParameterTypes()` in trusted code. Same is applicable for `Executable.getExceptionTypes()`.

This pull request has now been integrated.

Changeset: 9ef6c092
Author:    Sergey Tsypanov <sergei.tsypanov at yandex.ru>
Committer: Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9ef6c0925ae5a0ca774b23f6318551417a53e6c6
Stats:     9 lines in 4 files changed: 0 ins; 0 del; 9 mod

8287908: Use non-cloning reflection methods where acceptable

Reviewed-by: rriggs

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

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


More information about the core-libs-dev mailing list