RFR (XS): [MVT] MH.bindTo() should reject to bind DVTs

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Jul 19 13:59:45 UTC 2017


Looks good

Maurizio


On 19/07/17 14:17, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/valhalla/8184920/webrev.00
>
> MH.bindTo() should reject to bind DVTs, because they aren't reference 
> types as required by the contract:
>
>      * @throws IllegalArgumentException if the target does not have a
>      *         leading parameter type that is a reference type
>
> Testing: jdk/test/valhalla/mvt/
>
> Best regards,
> Vladimir Ivanov



More information about the valhalla-dev mailing list