JDK-6894599 : test/closed/javax/swing/Popup/TaskbarPositionTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-10-23
  • Updated: 2011-01-19
  • Resolved: 2010-05-17
Related Reports
Duplicate :  
Description
The regression test fails on MS Windows Vista with the latest JDK 7 (~b70+) with the following output:

----------System.out:(2/243)----------
We do not match! java.awt.Rectangle[x=0,y=0,width=1280,height=994] / java.awt.Rectangle[x=255,y=872,width=89,height=152]
We do not match! java.awt.Rectangle[x=0,y=0,width=1280,height=994] / java.awt.Rectangle[x=10,y=872,width=89,height=152]
----------System.err:(13/717)----------
java.lang.RuntimeException: Test failed
	at TaskbarPositionTest.main(TaskbarPositionTest.java:379)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:617)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)
The test also fails on linux-i586, Gnome/Metacity 2.24 with the following output:

----------System.out:(1/120)----------
We do not match! java.awt.Rectangle[x=0,y=24,width=1920,height=1176] / java.awt.Rectangle[x=0,y=0,width=109,height=121]
----------System.err:(13/704)----------
java.lang.RuntimeException: Test failed
	at TaskbarPositionTest.main(TaskbarPositionTest.java:379)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:617)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)