Review Request: JDK-8185450: [MVT] fails with NullPointerException

Maurizio Cimadamore maurizio.cimadamore at
Wed Aug 9 23:46:36 UTC 2017

Why is the check on MethodHandle.arrayConstructor commented? The code is 
there in JDK 10.


On 09/08/17 22:31, mandy chung wrote:
> A simple patch. MethodHandles::arrayXXX methods should detect if the 
> specified class is not an array type and throw IAE.  I piggyback in 
> this patch a small optimization in Class::isValueClass to return false 
> if value type is not enabled.
> Mandy

More information about the valhalla-dev mailing list