-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 6u10
-
Component/s: client-libs
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2170881 | 6u12 | Artem Ananiev | P2 | Resolved | Fixed | b04 |
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.
- backported by
-
JDK-2170881 Remove AWT tree lock from Container methods: getComponent, getComponents, getComponentCount
-
- Resolved
-
- relates to
-
JDK-6616323 consider benefits of replacing a componen array with other collection from the awt.Container class
-
- Closed
-
-
JDK-8059590 ArrayIndexOutOfBoundsException occurs when Container with overridden getComponents() is deserialized
-
- Resolved
-