trivial correction to javadoc of j.l.i.MethodHandles.arrayElementVarHandle()
Raffaello Giulietti
raffaello.giulietti at gmail.com
Fri Apr 24 12:15:32 UTC 2020
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