JDK-8130477 : Test javax/swing/JRadioButton/8075609/bug8075609.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u60,8u65,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2015-07-06
  • Updated: 2021-04-28
  • Resolved: 2015-07-17
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Testsuite name: Regression(jdk_swing)
Test name(s): javax/swing/JRadioButton/8075609/bug8075609.java
Product(s) tested: JDK 9b71(64-bit), JDK 8u65b03(64-bit)
OS/architecture: Linux/x64
Error log file (if present): see comments
Reproducible: Always
Reproducible on machine: spb23313.ru.oracle.com, spb23196.ru.oracle.com
Is it a Regression: No (  Test is introduced in JDK 1.9.0b68)
Regression introduced in release/build: N/A
Test result on the last GAed release for this train:
Test result on FCS:
Is it a platform specific issue: No
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version:No

Exception/Error from Log: 
----------System.err:(33/2046)----------
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1319)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
	at bug8075609.runTest1(bug8075609.java:100)
	at bug8075609.main(bug8075609.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Focus is not on textField as Expected
	at bug8075609$2.run(bug8075609.java:104)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException

Test run log location: see comments 
Comments
Oh yes, I think there's a typo in the listener, see https://bugs.openjdk.java.net/browse/JDK-8130430 (the test should be someway cleaned anyway)
06-07-2015