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

AtomicXXXFieldUpdater.newUpdater does not specify IllegalArgumentException when field is a static field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 26
    • core-libs

      The newUpdater methods throw IAE if called with a static field but this doesn't seem to be documented. This condition is checked after the volatile modifier check, so this must be reproduced by creating an updater for a static volatile field.

            dl Doug Lea
            alanb Alan Bateman
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: