JDK-7040022 : closed/sun/java2d/SunGraphics2D/CoordinateTruncationBug.java failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux
  • CPU: generic
  • Submitted: 2011-04-27
  • Updated: 2014-01-22
  • Resolved: 2013-08-22
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.
Related Reports
Relates :  
Relates :  
see comments

This problem is not reproducible after the fix for 7043455.

The root cause of the problem (fix for 6903034) was backed out as a part of the fix for 7043455 in jdk7 b143. So, the problem described in the bug 7040022 is not reproducible anymore.

EVALUATION This test failure is caused by the fix for CR 6903034. Note that this test works in following manner: 1) renders test background 2) captures a screen shoot in order to verify that the background is rendered correctly 3) renders test shapes 4) captures a screen shot again in order to verify that result of rendering is correct. This approach works fine until b138, but now after the step 2) we have rendering context filled with default background, what is caused by new implementation of the robot fro linux platform. On the step 4) test fails, because captured background differs comparing to test background rendered on the step 1) . Without a changes in robot implementation, we can only workaround this issue by capturing only a final result of rendering.