RFR: 8152641: Plugin to generate BMH$Species classes ahead-of-time

Claes Redestad claes.redestad at oracle.com
Wed Mar 30 11:14:39 UTC 2016


On 2016-03-30 13:11, Remi Forax wrote:
> Hi Claes,
> Did you considere to use
>    return c.asSubclass(BoundMethodHandle.class);
> instead of
>    return (Class<? extends BoundMethodHandle>)c;
> to avoid the @SupressWarnings, like in generateConcreteBMHClass ?

no, but it's a good cleanup. :-)

Updated in-place: http://cr.openjdk.java.net/~redestad/8152641/webrev.03/


More information about the core-libs-dev mailing list