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

Сергей Цыпанов duke at openjdk.java.net
Mon Jan 10 10:02:18 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 incrementally with one additional commit since the last revision:

  8278461: Revert Executable

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6782/files
  - new: https://git.openjdk.java.net/jdk/pull/6782/files/bbf8bfaa..ee5fdb04

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6782&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6782&range=00-01

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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