<Swing Dev> 8160438: [PIT][macosx] [TEST_BUG] javax/swing/plaf/nimbus/8057791/bug8057791.java fails

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Jul 7 13:00:41 UTC 2016


Hi Avik,

could you clarify what is "Non-generic display settings"? Is it known 
bug on OS X?
And also please be more specific on "negative scenarios" why they are 
necessary ?

Also could you replace labeled break with "return foundMatch; "

--Semyon


On 07.07.2016 15:11, Avik Niyogi wrote:
> Hi All,
>
> Kindly review the fix for JDK9.
>
> *Bug: *https://bugs.openjdk.java.net/browse/JDK-8160438
>
> *Webrev: *http://cr.openjdk.java.net/~aniyogi/8160438/webrev.00/ 
> <http://cr.openjdk.java.net/%7Eaniyogi/8160438/webrev.00/>
>
> *Issue: *test javax/swing/plaf/nimbus/8057791/bug8057791.java 
> consistently fails on OS X 10.10
>
> *Cause: * Due to bug in detecting color for Non-generic display 
> settings for Mac hardware, test case failed
>
> *Fix: *Positive and negative scenarios was added to check the colour 
> for the Nimbus LAF foreground and background colours.
>
> With Regards,
> Avik Niyogi
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160707/b520570e/attachment.html>


More information about the swing-dev mailing list