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

Mac: GlassView2D/3D.lockedFocus boolean field isn't thread-safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7-pool
    • fx2.0.2
    • javafx
    • None
    • Mac

      A fix for RT-13914 introduced a new boolean field in GlassView2D and GlassView3D objects: lockedFocus. It gets updated from the View.begin()/end() methods, and access to the field isn't synchronized currently. Since all known Glass clients invoke both begin() and end() on the same thread, this shouldn't cause any issues.

      However, if we want to keep Glass thread-safe, we need to synchronize access to this field.

            gziemski Gerard Ziemski
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: