JDK-8061236 : [macosx] Test java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java fails in MacOSX(10.9)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9,10,11,13,14,15,17
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: generic
  • Submitted: 2014-10-16
  • Updated: 2022-06-07
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Testsuite name: jdk_awt 
Test name(s): java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java
Product(s) tested: jdk 9 fcs old and new compiler 
OS/architecture: MacOSX(10.9) 

Reproducible: Always 
Reproducible on machine: stt-mac-01.ru.oracle.com 
Also reproducible on machine: stt-mac-05.ru.oracle.com, stt-mac-08.ru.oracle.com, stt-mac-02.ru.oracle.com 
Is it a test bug or a product bug :  
Is it a Regression: No 
Failed in JDK 9 fcs new and old compiler and also for JDK 9b34, 9b27, 9b24, 9b22 
Regression introduced in release/build: 
Test result on the last GAed release for this train: 
Test result on FCS: 

Is it a platform specific issue: Yes (MacOSX) 

----------System.err:(16/1088)----------
java.lang.RuntimeException: backgroundWindowGotFocus is not triggered for click on point 265, 455 for class java.awt.Window!
	at FocusAWTTest.checkClick(FocusAWTTest.java:237)
	at FocusAWTTest.check(FocusAWTTest.java:209)
	at FocusAWTTest.doTest(FocusAWTTest.java:178)
	at FocusAWTTest.main(FocusAWTTest.java:80)
	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:498)
	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: backgroundWindowGotFocus is not triggered for click on point 265, 455 for class java.awt.Window!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: backgroundWindowGotFocus is not triggered for click on point 265, 455 for class java.awt.Window!

Test run log location: 
Steps to reproduce: 
1. login into stt-mac-01.ru.oracle.com 
2. go to /export/home/gtee/9b90_hotspot 
3. add test case in 'failedcase' file 
4. run : source export_scripts.sh 
5. run : python filereader.py 

workspace : 
new compiler : http://jre.us.oracle.com/java/re/scanas412/java_re2/archive/jdk9-build-upgrades/b90_2014-09-10-1604_32/ws/jdk/test/ 
old compiler : http://jre.us.oracle.com/java/re/scanas412/java_re2/archive/jdk9-bld-reference/b90_2014-09-10-1603_20/ws/jdk/test/ 
jdk : 
new compiler : http://jre.us.oracle.com/java/re/scanas412/java_re2/archive/jdk9-build-upgrades/b90_2014-09-10-1604_32/bundles/macosx-amd64/ 
old compiler : http://jre.us.oracle.com/java/re/scanas412/java_re2/archive/jdk9-bld-reference/b90_2014-09-10-1603_20/bundles/macosx-amd64/

Comments
Targeted to 10 as an issue introduced in 8u or 9
17-02-2017

Approved by component triage team to defer
29-08-2016

SQE: JDK 9: OK to defer
29-08-2016

9-client-defer-candidate: No resource to fix it in jdk9.
29-08-2016

This test is not present in 8u40b12, 8 GA and 7u6b25.
31-10-2014

Is it Failed on 8u40? 8 GA? 7u6?
30-10-2014

removed compilerUpgrade label since it is failed on both new and old compilers
30-10-2014