-
Bug
-
Resolution: Unresolved
-
P4
-
10, 11, 12
-
windows_10
This test passes if run as single test or first test in group of tests with jtreg.
This test fails if some other is run before test which create a Window and takes focus on that window.
This test as well all the tests mentioned below fail intermittently, not always.
CLASSPATH='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d;D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128;D:\\Workspace\\client\\JTwork\\classes\\lib\\testlibrary;D:\\Workspace\\client\\test\\jdk\\lib\\testlibrary;D:\\jtreg\\jtreg_11\\lib\\javatest.jar;D:\\jtreg\\jtreg_11\\lib\\jtreg.jar' \\
'D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk\\bin\\java' \\
-Dtest.src='D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128' \\
-Dtest.src.path='D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128;D:\\Workspace\\client\\test\\jdk\\lib\\testlibrary' \\
-Dtest.classes='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d' \\
-Dtest.class.path='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d;D:\\Workspace\\client\\JTwork\\classes\\lib\\testlibrary' \\
-Dtest.vm.opts= \\
-Dtest.tool.vm.opts= \\
-Dtest.compiler.opts= \\
-Dtest.java.opts= \\
-Dtest.jdk='D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk' \\
-Dcompile.jdk='D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk' \\
-Dtest.timeout.factor=1.0 \\
-Dtest.modules=java.desktop \\
--add-modules java.desktop \\
com.sun.javatest.regtest.agent.MainWrapper 'D:\\Workspace\\client\\JTwork\\javax\\swing\\JMenu\\6470128\\bug6470128.d\\main.0.jta'
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Submenu is unexpectedly unselected
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Submenu is unexpectedly unselected
The issue looks like a focus issue. Similar behavior is demonstrated by many other tests, so not creating duplicate bugs
javax/swing/JColorChooser/Test8051548.java
javax/swing/JComboBox/8041909/ActionListenerExceptionTest.java
javax/swing/JLabel/6596966/bug6596966.java
javax/swing/JMenu/4213634/bug4213634.java
javax/swing/JMenu/4515762/bug4515762.java
javax/swing/JMenu/4692443/bug4692443.java
javax/swing/JMenu/6538132/6538132.java
javax/swing/JMenuBar/4750590/bug4750590.java
javax/swing/JMenuItem/4171437/bug4171437.java
javax/swing/JMenuItem/6249972/bug6249972.java
javax/swing/JPopupMenu/6415145/bug6415145.java
javax/swing/JPopupMenu/6515446/bug6515446.java
javax/swing/JRadioButton/8033699/bug8033699.java
javax/swing/JRadioButton/8075609/bug8075609.java
javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java
javax/swing/JRootPane/4670486/bug4670486.java
javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java
javax/swing/JSlider/6348946/bug6348946.java
javax/swing/JSpinner/4973721/bug4973721.java
javax/swing/JTabbedPane/4624207/bug4624207.java
javax/swing/JTable/7068740/bug7068740.java
javax/swing/JTableHeader/6889007/bug6889007.java
javax/swing/JTextField/8036819/bug8036819.java
javax/swing/JTree/4908142/bug4908142.java
javax/swing/JTree/4927934/bug4927934.java
javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java
javax/swing/SwingUtilities/4917669/bug4917669.java
javax/swing/SwingUtilities/7088744/bug7088744.java
javax/swing/ToolTipManager/Test6256140.java
This test fails if some other is run before test which create a Window and takes focus on that window.
This test as well all the tests mentioned below fail intermittently, not always.
CLASSPATH='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d;D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128;D:\\Workspace\\client\\JTwork\\classes\\lib\\testlibrary;D:\\Workspace\\client\\test\\jdk\\lib\\testlibrary;D:\\jtreg\\jtreg_11\\lib\\javatest.jar;D:\\jtreg\\jtreg_11\\lib\\jtreg.jar' \\
'D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk\\bin\\java' \\
-Dtest.src='D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128' \\
-Dtest.src.path='D:\\Workspace\\client\\test\\jdk\\javax\\swing\\JMenu\\6470128;D:\\Workspace\\client\\test\\jdk\\lib\\testlibrary' \\
-Dtest.classes='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d' \\
-Dtest.class.path='D:\\Workspace\\client\\JTwork\\classes\\javax\\swing\\JMenu\\6470128\\bug6470128.d;D:\\Workspace\\client\\JTwork\\classes\\lib\\testlibrary' \\
-Dtest.vm.opts= \\
-Dtest.tool.vm.opts= \\
-Dtest.compiler.opts= \\
-Dtest.java.opts= \\
-Dtest.jdk='D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk' \\
-Dcompile.jdk='D:\\Workspace\\client\\build\\windows-x86_64-normal-server-release\\images\\jdk' \\
-Dtest.timeout.factor=1.0 \\
-Dtest.modules=java.desktop \\
--add-modules java.desktop \\
com.sun.javatest.regtest.agent.MainWrapper 'D:\\Workspace\\client\\JTwork\\javax\\swing\\JMenu\\6470128\\bug6470128.d\\main.0.jta'
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Submenu is unexpectedly unselected
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Submenu is unexpectedly unselected
The issue looks like a focus issue. Similar behavior is demonstrated by many other tests, so not creating duplicate bugs
javax/swing/JColorChooser/Test8051548.java
javax/swing/JComboBox/8041909/ActionListenerExceptionTest.java
javax/swing/JLabel/6596966/bug6596966.java
javax/swing/JMenu/4213634/bug4213634.java
javax/swing/JMenu/4515762/bug4515762.java
javax/swing/JMenu/4692443/bug4692443.java
javax/swing/JMenu/6538132/6538132.java
javax/swing/JMenuBar/4750590/bug4750590.java
javax/swing/JMenuItem/4171437/bug4171437.java
javax/swing/JMenuItem/6249972/bug6249972.java
javax/swing/JPopupMenu/6415145/bug6415145.java
javax/swing/JPopupMenu/6515446/bug6515446.java
javax/swing/JRadioButton/8033699/bug8033699.java
javax/swing/JRadioButton/8075609/bug8075609.java
javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java
javax/swing/JRootPane/4670486/bug4670486.java
javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java
javax/swing/JSlider/6348946/bug6348946.java
javax/swing/JSpinner/4973721/bug4973721.java
javax/swing/JTabbedPane/4624207/bug4624207.java
javax/swing/JTable/7068740/bug7068740.java
javax/swing/JTableHeader/6889007/bug6889007.java
javax/swing/JTextField/8036819/bug8036819.java
javax/swing/JTree/4908142/bug4908142.java
javax/swing/JTree/4927934/bug4927934.java
javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java
javax/swing/SwingUtilities/4917669/bug4917669.java
javax/swing/SwingUtilities/7088744/bug7088744.java
javax/swing/ToolTipManager/Test6256140.java
- relates to
-
JDK-8305780 javax/swing/JTable/7068740/bug7068740.java fails on Ubunutu 20.04
- Resolved