JDK-8078082 : [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u60,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-04-17
  • Updated: 2015-09-29
  • Resolved: 2015-04-21
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.
8u60Fixed 9 b65Fixed
Related Reports
Relates :  
Test name(s): java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java 
JDK tested: 8u60b11,8u60b10,9b59
OS tested:Solaris Sparcv9, Windows
Is it a regression? No
Regression introduced in release/build: N/A
Is it platform specific? No
The is failure reproduced: Solaris sparcv9 , Windows
Focus Test!
java.lang.RuntimeException: Focus is lost!
	at MultiResolutionSplashTest.testFocus(MultiResolutionSplashTest.java:131)
	at MultiResolutionSplashTest.main(MultiResolutionSplashTest.java:77)
	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.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Focus is lost!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Focus is lost!
Pooja, please back the fix to 8u-dev (8u60) as well. thx.

This test will always fail with "Focus is lost!" as if(!textField.getText().equals("ab")){ throw new RuntimeException("Focus is lost!"); } testField.getText = ab123 so if condition will always be true .