JDK-8279537 : javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u311
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux,solaris
  • Submitted: 2022-01-05
  • Updated: 2024-05-12
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 8
8-poolUnresolved
Related Reports
Relates :  
Relates :  
Description
The javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java test fails on Linux with a few number of different error messages:

----------System.out:(6/298)----------
Testing UI: javax.swing.UIManager$LookAndFeelInfo[Metal javax.swing.plaf.metal.MetalLookAndFeel]
Menu1: menuSelected
WrongSelectionOnMouseOver.mouseEntered
Menu1: menuDeselected
Testing UI: javax.swing.UIManager$LookAndFeelInfo[Nimbus javax.swing.plaf.nimbus.NimbusLookAndFeel]
Menu1: menuSelected
----------System.err:(14/896)----------
java.lang.RuntimeException: MouseEntered event missed for the second menu
        at WrongSelectionOnMouseOver.test(WrongSelectionOnMouseOver.java:189)
        at WrongSelectionOnMouseOver.main(WrongSelectionOnMouseOver.java:201)
        at ...


----------System.out:(9/467)----------
Testing UI: javax.swing.UIManager$LookAndFeelInfo[Metal javax.swing.plaf.metal.MetalLookAndFeel]
Menu1: menuSelected
WrongSelectionOnMouseOver.mouseEntered
Menu1: menuDeselected
Testing UI: javax.swing.UIManager$LookAndFeelInfo[Nimbus javax.swing.plaf.nimbus.NimbusLookAndFeel]
Menu1: menuSelected
WrongSelectionOnMouseOver.mouseEntered
Menu1: menuDeselected
Testing UI: javax.swing.UIManager$LookAndFeelInfo[CDE/Motif com.sun.java.swing.plaf.motif.MotifLookAndFeel]
----------System.err:(14/842)----------
java.lang.RuntimeException: Menu has not been selected.
        at WrongSelectionOnMouseOver.test(WrongSelectionOnMouseOver.java:182)
        at WrongSelectionOnMouseOver.main(WrongSelectionOnMouseOver.java:201)
        at …


----------System.out:(2/117)----------
Testing UI: javax.swing.UIManager$LookAndFeelInfo[Metal javax.swing.plaf.metal.MetalLookAndFeel]
Menu1: menuSelected
----------System.err:(14/896)----------
java.lang.RuntimeException: MouseEntered event missed for the second menu
	at WrongSelectionOnMouseOver.test(WrongSelectionOnMouseOver.java:189)
	at WrongSelectionOnMouseOver.main(WrongSelectionOnMouseOver.java:201)
	at …
Comments
This is a test stabilization issue, and most likely it affects previous versions too. I haven't checked earlier versions. It looks like a test bug rather than a product one, therefore I added ‘testbug’ label.
17-01-2022

JDK-8142534 was a different failure; it's backported to 8u but the test still fails on Linux.
05-01-2022