Currently, KeyboardFocusManagers are partitioned by ThreadGroup. The attached test case shows that this behaviour is different from Sun's implementation.
We'll need to change all places in KeyboardFocusManager where we retrieve the current thread group to retrieve the current ClassLoader, and we'll need to key currentKeyboardFocusManagers on ClassLoaders. -- Summary: KeyboardFocusManagers should be partitioned by ClassLoader Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: fitzsim at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17782