trivial correction to javadoc of j.l.i.MethodHandles.arrayElementVarHandle()
Mandy Chung
mandy.chung at oracle.com
Fri Apr 24 20:11:18 UTC 2020
Pushed: https://hg.openjdk.java.net/jdk/jdk/rev/3a3c806aff1f
Mandy
On 4/24/20 9:17 AM, Mandy Chung wrote:
> Yes any change requires a JBS issue.
>
> I can sponsor this trivial fix.
>
> Mandy
>
> On 4/24/20 5:15 AM, Raffaello Giulietti wrote:
>> Not sure if this requires an entry in the JBS...
>>
>>
>> Greetings
>> Raffaello
>>
>>
>>
>>
>> diff -r 70c2239696ae
>> src/java.base/share/classes/java/lang/invoke/MethodHandles.java
>> --- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
>> Fri Apr 24 16:12:53 2020 +0530
>> +++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
>> Fri Apr 24 14:08:46 2020 +0200
>> @@ -3960,7 +3960,7 @@
>> * {@code short}, {@code char}, {@code int}, {@code long},
>> * {@code float}, or {@code double} then numeric atomic
>> update access
>> * modes are unsupported.
>> - * <li>if the field type is anything other than {@code boolean},
>> + * <li>if the component type is anything other than {@code
>> boolean},
>> * {@code byte}, {@code short}, {@code char}, {@code int} or
>> * {@code long} then bitwise atomic update access modes are
>> * unsupported.
>
More information about the core-libs-dev
mailing list