-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b48
-
x86
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084154 | emb-9 | Sergey Bylokhov | P4 | Resolved | Fixed | team |
JDK-8086882 | 8u65 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8078690 | 8u60 | Sergey Bylokhov | P4 | Resolved | Fixed | b14 |
JDK-8138072 | emb-8u65 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8079985 | emb-8u60 | Sergey Bylokhov | P4 | Resolved | Fixed | team |
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Retrieving a value from UIDefaults which has been set to the literal string "Pending" blocks indefinitely.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Put "Pending" in UIDefaults, then retrieve it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"Pending" is returned.
ACTUAL -
Deadlock.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Pending implements Runnable {
public static void main(String[] args) {
EventQueue.invokeLater(new Pending());
}
@Override
public void run() {
UIManager.put("foobar", "Pending");
System.out.println(UIManager.get("foobar"));
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use new String("Pending") instead of the literal string "Pending".
- backported by
-
JDK-8078690 Pending String deadlocks UIDefaults
-
- Resolved
-
-
JDK-8079985 Pending String deadlocks UIDefaults
-
- Resolved
-
-
JDK-8084154 Pending String deadlocks UIDefaults
-
- Resolved
-
-
JDK-8086882 Pending String deadlocks UIDefaults
-
- Resolved
-
-
JDK-8138072 Pending String deadlocks UIDefaults
-
- Resolved
-
- duplicates
-
JDK-7180977 Pending String deadlocks UIDefaults
-
- Closed
-
-
JDK-7180978 Pending String deadlocks UIDefaults
-
- Closed
-
- relates to
-
JDK-6727661 Code improvement and warnings removing from the swing/plaf packages
-
- Closed
-
-
JDK-6727662 Code improvement and warnings removing from swing packages
-
- Closed
-