RFR: 8287908: Use non-cloning reflection methods where acceptable [v3]

Сергей Цыпанов duke at openjdk.java.net
Tue Jun 14 19:36:51 UTC 2022


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

Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:

  8287908: Make Executable.getAllGenericParameterTypes() safe

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9064/files
  - new: https://git.openjdk.org/jdk/pull/9064/files/635854b2..7ef88f83

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9064&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9064&range=01-02

  Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/9064.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9064/head:pull/9064

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


More information about the core-libs-dev mailing list