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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 15
    • core-libs

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: