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

2022-06-08 Thread Сергей Цыпанов
> Instead of `Executable.getParameterTypes()` we could use 
> `Executable.getSharedParameterTypes()` in trusted code. Same is applicable 
> for `Executable.getExceptionTypes()`.

Сергей Цыпанов has updated the pull request with a new target base due to a 
merge or a rebase. The incremental webrev excludes the unrelated changes 
brought in by the merge/rebase. The pull request contains two additional 
commits since the last revision:

 - Merge branch 'master' into 8287908
 - 8287908: Use non-cloning reflection methods where acceptable

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/9064/files
  - new: https://git.openjdk.java.net/jdk/pull/9064/files/a6715257..635854b2

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

  Stats: 1833 lines in 92 files changed: 1180 ins; 242 del; 411 mod
  Patch: https://git.openjdk.java.net/jdk/pull/9064.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/9064/head:pull/9064

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


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

2022-06-07 Thread Сергей Цыпанов
Instead of `Executable.getParameterTypes()` we could use 
`Executable.getSharedParameterTypes()` in trusted code. Same is applicable for 
`Executable.getExceptionTypes()`.

-

Commit messages:
 - 8287908: Use non-cloning reflection methods where acceptable

Changes: https://git.openjdk.java.net/jdk/pull/9064/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9064&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287908
  Stats: 9 lines in 4 files changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/9064.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/9064/head:pull/9064

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