JDK-7124242 : [macosx] Test doesn't work because of the frame round corners in the LaF
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2013-06-26
  • Resolved: 2012-11-30
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 7 JDK 8
7u40Fixed 8 b68Fixed
Description
http://java.net/jira/browse/MACOSX_PORT-718 submitted 2011/11/17 by Yuri Nesterenko
This test does compare a bottom rectangle of the frame before and after resize. However in the default LaF (Aqua) frame corners are round, and background under the frame corners is different before and after so the comparison fails.
Build: b217
javax/swing/text/CSSBorder/6796710/bug6796710.java

Comments
Suggested fix: http://cr.openjdk.java.net/~kshefov/7124242/webrev.00/
16-11-2012

EVALUATION Author: Yuri Nesterenko Date: 18/Nov/11 09:33 AM The same problem (round corners) plus zero delay: closed/javax/swing/text/DefaultCaret/4203175/bug4203175.java Author: Alexander Potochkin Date: 05/Dec/11 02:36 PM The test should be updated, the frame must be undecorated to make the screenshot contain only Swing related data.
23-12-2011