JDK-2211151 : TEST: sun/java2d/DirectX/OnScreenRenderingResizeTest fails on GNOME
  • Type: Backport
  • Backport of: JDK-6984543
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-06-29
  • Updated: 2012-10-20
  • Resolved: 2012-09-25
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.
JDK 6 JDK 7
6u38 b01Fixed 7Fixed
Description
see comments

Comments
verified on stt-28.ru with 6u38b03
20-10-2012

SUGGESTED FIX The defect is fixed in 7. Here is the diff of 6 and 7 workspaces. The crux is to use translate instead of move to determine the location for frame rendering: :"/net/nightsvr/export4/integration" 3 $ diff -s 6u33/j2se/test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java 7u4/jdk/test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java 2c2,24 138c160 < p.move(in.left+10, in.top+10); --- > p.translate(in.left+10, in.top+10); 147c169 < p.move(in.left, in.top+IMAGE_H+5); --- > p.translate(in.left, in.top+IMAGE_H+5);
30-03-2012

EVALUATION see parent cr.
29-06-2011