JDK-8285698 : Create a test to check the focus stealing of JPopupMenu from JComboBox
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,17,18,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2022-04-27
  • Updated: 2022-07-22
  • Resolved: 2022-05-11
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 11 JDK 17 JDK 19 JDK 8
11.0.17-oracleFixed 17.0.5-oracleFixed 19 b22Fixed 8u351Fixed
Related Reports
Relates :  
Description
This test verifies that showing a JPopupMenu shouldn't steal the focus out of current focused component..
This fix moves an unstable closed test to open but updated to be more comprehensive in testing multiple Look and Feels and with some stabilisation improvements. The closed test had some dependencies with some proprietary libraries which are all removed here.

Testing:
Tested using mach5 10 times per platform and got all Pass.
Comments
Changeset: 7612bba0 Author: Manukumar V S <mvs@openjdk.org> Committer: Abdul Kolarkunnu <akolarkunnu@openjdk.org> Date: 2022-05-11 11:48:22 +0000 URL: https://git.openjdk.java.net/jdk/commit/7612bba0f1ae63b2c762eb103544dc43d4e8304f
11-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8426 Date: 2022-04-27 11:22:48 +0000
27-04-2022