On Thu, 2 Sep 2021 14:00:03 GMT, Alan Bateman <[email protected]> wrote:
>> Mandy Chung has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> review comment
>
> src/java.base/share/classes/java/lang/invoke/MethodHandles.java line 2787:
>
>> 2785: * This method returns when {@code targetClass} is fully
>> initialized, or
>> 2786: * when {@code targetClass} is being initialized if this
>> method is called
>> 2787: * by the initializing thread.
>
> This looks okay but I wonder if it might be a bit clearer to say "when
> targetClass is being initialized on the current thread".
That works for me. Updated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5343