RFR: 8244413: Avoid rebinds in MethodHandle.viewAsType

Claes Redestad claes.redestad at oracle.com
Tue May 5 22:34:51 UTC 2020


Hi Mandy,

On 2020-05-06 00:23, Mandy Chung wrote:
> 
> This looks good.

thanks!

> 
> Nit: one assert with paratheses and the other without.  Better to make 
> them consistent.
> 
> 163 assert viewAsTypeChecks(newType, strict);  164 
> assert(this.getClass() == DirectMethodHandle.class); // must override in 
> subclasses

Sure, I'll add some.

/Claes


More information about the core-libs-dev mailing list