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`.
------------- Commit messages: - 8267509: Improve IllegalAccessException message to include the cause of the exception Changes: https://git.openjdk.org/jdk/pull/15698/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15698&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8267509 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