RFR: 8255449: Improve the exception message of MethodHandles::permuteArguments

Jorn Vernee jvernee at openjdk.java.net
Wed Oct 28 11:54:46 UTC 2020


On Wed, 28 Oct 2020 10:19:58 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

> 
> 
> Seems like a reasonable change. Is there an already existing test for "bad" permute args that could be expanded to discern the new exception message?

There are several tests for permuteArguments, but none that explicitly test this failure. I'll add some (good idea).

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

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


More information about the core-libs-dev mailing list