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

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

XMLWordPrintable

    • b23
    • b55
    • generic, sparc
    • generic, solaris_nevada
    • Not verified

        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.

              art Artem Ananiev (Inactive)
              art Artem Ananiev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: