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

Mandy Chung mchung at openjdk.org
Wed Sep 13 17:52:22 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:

  revised message

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

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

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

  Stats: 2 lines in 1 file changed: 1 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