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

Remove AWT tree lock from Container methods: getComponent, getComponents, getComponentCount

    Details

    • Subcomponent:
    • Introduced In Build:
      b23
    • Introduced In Version:
    • Resolved In Build:
      b55
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_nevada
    • Verification:
      Not verified

      Backports

        Description

        The fix for 6616323 adds synchronization on AWT tree lock to several methods in Container class (probably, in Component as well). AWT tree lock is a public lock that should be used for any hiearchy or layout operations *by developers*, not by AWT. That's why internal synchronization must be removed, and a warning about calling these methods without tree lock should be added.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  art Artem Ananiev
                  Reporter:
                  art Artem Ananiev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: