JDK-8019623 : Lack of synchronization in AppContext.getAppContext()
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u25
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-07-02
  • Updated: 2014-11-26
  • Resolved: 2013-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u85Fixed 7u72Fixed 8 b115Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
AppContext.getAppContext() isn't thread safe, which might result in all kind of issues, especially when creating the main AppContext.
Comments
There is no regression test for this particular issue because it's hard to write one, however, a generic regression test, test/sun/awt/AppContext/MultiThread/MultiThreadTest.java, has been written to help our catch unexpected regressions in the future.
2013-10-09