Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243575

Trivial javadoc fix of j.l.i.MethodHandles::arrayElementVarHandle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • None
    • core-libs

      See https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-April/066015.html

      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.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: