RFR: 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code [v3]

Сергей Цыпанов duke at openjdk.java.net
Mon Jan 10 11:56:57 UTC 2022


> `Executable.getParameterTypes()` creates a copy of underlying array which is redundant in trusted code when we are sure the action is read-only.

Сергей Цыпанов has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - 8278461: Revert Executable
 - 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code

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

Changes: https://git.openjdk.java.net/jdk/pull/6782/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6782&range=02
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6782.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6782/head:pull/6782

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


More information about the core-libs-dev mailing list