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

Should synchronize access to Component.{max|min|pref}Size

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: agR10216 Date: 02/04/2004


      The bug 4984970 revealed a synchronization issue with
      Component.{max|min|pref}Size and Component.{max|min|pref}SizeSet.
      For example, if setMaximumSize() and invalidate() are called on
      two different threads at the same time, it's possible for the
      component to get into an inconsistent state (the field maxSize
      is null, but the field maxSizeSet is true), and a subsequent
      call to getMaximumSize() will result in NullPointerException.

      ###@###.### 2004-02-04
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serb Sergey Bylokhov
                Reporter:
                agerasimsunw Alexander Gerasimov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: