JDK-8130741 : [macosx] Test java/awt/MouseInfo/GetPointerInfoTest.java fails in MacOSX
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u121,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: generic
  • Submitted: 2015-07-08
  • Updated: 2023-10-09
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 :  
Relates :  
Description
Test name(s):java/awt/MouseInfo/GetPointerInfoTest.java
JDK tested:9b71,9b67
OS tested:MacOSX, Windows 
Is it a regression? No 
Regression introduced in release/build: N/A 
                             
Is it platform specific? Yes 
                    
The is failure reproduced:MacOSX (Passes in Windows) 

----------System.out:(2/58)----------
There are 1 Graphics Devices
Test stage completed.Passed.
----------System.err:(13/839)----------
java.lang.RuntimeException: Test failed.getPointerInfo() returned incorrect result.
	at GetPointerInfoTest.main(GetPointerInfoTest.java:66)
	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:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed.getPointerInfo() returned incorrect result.
JavaTest Message: shutting down test
Comments
The test always fail on macOS (at least with Retina display): There are 2 Graphics Devices java.awt.Point[x=101,y=99] Test stage completed.Passed. java.awt.Point[x=961,y=526]
09-09-2021

Could be fixed by the JDK-8267194
19-05-2021

failing for jdk 8u121b33 on mac
06-02-2017

Yes I have ran the test through VNC on mac
31-07-2015

Do you use VNC client to connect the test server?
31-07-2015

Hi Semyon, I tried several times without touching mouse also but test is failing with same error .
31-07-2015

Test fails with same error for 9b73 also in MacOSX (stt-13.ru.oracle.com) http://scaaa008.us.oracle.com:9502/runs/01027/1027510.ManualSubmit/1027510.ManualSubmit-1/workDir/java/awt/MouseInfo/GetPointerInfoTest.jtr
20-07-2015

The test requires mouse to be untouchable. Can you re-ensure?
20-07-2015

Passes on my i-mac. The test requires mouse to be untouchable. Can you re-ensure?
15-07-2015

Test passes in Windows
08-07-2015

Machine to reproduce : stt-mac-12.ru.oracle.com http://aurora-ds3.us.oracle.com:9502/runs/00993/993552.ManualSubmit/993552.ManualSubmit-1/workDir/java/awt/MouseInfo/GetPointerInfoTest.jtr RULE java/awt/MouseInfo/GetPointerInfoTest.java Exception java.lang.RuntimeException: Test failed.getPointerInfo() returned incorrect result.
08-07-2015