RFR: 8267509: Improve IllegalAccessException message to include the cause of the exception [v2]

Mandy Chung mchung at openjdk.org
Wed Sep 13 16:21:14 UTC 2023


> This PR improves IllegalAccessException message thrown by `Lookup::findXXX` APIs if the method's variable arity modifier bit is set and `asVarargsCollector` fails.  It will increase the exception message thrown by asVarargsCollector`.

Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:

  use member (not method handle)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15698/files
  - new: https://git.openjdk.org/jdk/pull/15698/files/8d5f1b16..921f1397

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

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

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


More information about the core-libs-dev mailing list