Review Request: JDK-8235521: Replacement API for Unsafe::ensureClassInitialized

John Rose john.r.rose at oracle.com
Thu Jun 4 22:49:47 UTC 2020


On Jun 4, 2020, at 12:39 PM, mark.reinhold at oracle.com wrote:
> 
> I agree that the `ensure` prefix is useful here.
> 
> This method can only ensure that a class is initialized, so including
> `Class` in the method name seems redundant.  I’d go with the shorter
> `ensureInitialized`.

+1


More information about the core-libs-dev mailing list