-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
generic
-
generic
Name: dmR10075 Date: 04/07/2003
A number of components in java.awt package synchronize access to
static fields from instance methods on getClass(). This is dangerous,
as for descendants getClass will return different class object. So
descendant X will synchronize on X.class while ancestor Y will
synchronize on Y.class and in result access will be unsynchronized.
======================================================================
A number of components in java.awt package synchronize access to
static fields from instance methods on getClass(). This is dangerous,
as for descendants getClass will return different class object. So
descendant X will synchronize on X.class while ancestor Y will
synchronize on Y.class and in result access will be unsynchronized.
======================================================================
- duplicates
-
JDK-4203987 constructComponentName implementation is (theoretically) not thread-safe
- Closed