JDK-8282046: Create a regression test for JDK-8000326 #7512
As indicated by the comment here in bug JDK-8000326, the fix in 8-b78 was made not in code but in the docs, to clarify that the failure in focus traversal from Menu Bar to the other components was due to the default false value set to jMenuBar's focusTraversalKeysEnabled and is as expected.
The test is to ensure that with jMenuBar.setFocusTraversalKeysEnabled(true), <Line no 82 in Test> the focus traversal across the components of the the UI is successful.
The test fails in jdk8-b77, jdk8-b78, as well as in latest JDK8u builds with jMenuBar.setFocusTraversalKeysEnabled(false)
@srmandal This change now passes all automated pre-integration checks.
ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 425 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@aivanov-jdk) but any other Committer may sponsor as well.
➡️ To flag this PR as ready for integration with the above commit message, type
Going to push as commit 97c7298.
Your commit was automatically rebased without conflicts.