<AWT Dev> Review Request for 8057574 : inconsistent behavior for setBackground (Windows/Linux)

Prem Balakrishnan prem.balakrishnan at oracle.com
Mon Apr 25 06:00:50 UTC 2016


Hi,

Please review fix for JDK9,

Bug: https://bugs.openjdk.java.net/browse/JDK-8057574 

Webrev: http://cr.openjdk.java.net/~pkbalakr/8057574/webrev.00/ 

 

Issue:

inconsistent behavior for setBackground (Windows/Linux)

Inconsistency also exists for Foreground and Font properties across platforms (Win and Linux)

 

Fix: 

Uniform behaviour is maintained by making , child component NOT to inherit  parent properties (Background, Foreground and Font)

across all the platforms(Win/Linux/Mac). 

 

Regression and JCK tests passed without causing any regression with the suggested fix.

 

Regards,
Prem

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160424/e8a715ea/attachment.html>


More information about the awt-dev mailing list