RFR: 8255449: Improve the exception message of MethodHandles::permuteArguments [v2]
Jorn Vernee
jvernee at openjdk.java.net
Wed Oct 28 13:36:57 UTC 2020
On Wed, 28 Oct 2020 11:52:17 GMT, Jorn Vernee <jvernee 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?
>
>>
>>
>> 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).
I've added some negative tests that test for the different failure conditions.
-------------
PR: https://git.openjdk.java.net/jdk/pull/878
More information about the core-libs-dev
mailing list