RFR: 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch

Vivek Theeyarath vivek.theeyarath at oracle.com
Wed May 23 01:00:16 UTC 2018


Thanks for the comments Mandy. I have updated the test accordingly.

 

http://cr.openjdk.java.net/~vtheeyarath/8177276/webrev.04/ 

 

Regards

Vivek

From: mandy chung 
Sent: Tuesday, May 22, 2018 10:07 PM
To: Vivek Theeyarath <vivek.theeyarath at oracle.com>; Paul Sandoz <paul.sandoz at oracle.com>
Cc: core-libs-dev <core-libs-dev at openjdk.java.net>; Nadeesh TV <nadeesh.thatathil.valappu at mdcpartners.be>
Subject: Re: RFR: 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch

 

 

On 5/22/18 9:09 AM, Vivek Theeyarath wrote:

Hi All,
  Thanks for the comments. I have incorporated the changes as per Nadeesh's and Paul's comments. The test runs fine with jtreg post the changes. Also, the typo errors Mandy pointed out has also been fixed. Please find the updated webrev.
 
http://cr.openjdk.java.net/~vtheeyarath/8177276/webrev.03/ 


Looks fine.   Nit:  line 119-133 in MethodHandlesInsertArgumentsTest.java can be converted into two  @Test(expected = ClassCastException.class) cases like the other two IAE cases.  You can update it before you push.

Mandy


More information about the core-libs-dev mailing list