<Swing Dev> 8172509: [TEST_BUG] [macosx] Failure of the new test java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Wed Jan 11 10:52:38 UTC 2017
I guess we need to throw the exception if changing LaF fails instead of
silently consuming it!!
Regards
Prasanta
On 1/11/2017 2:16 PM, Avik Niyogi wrote:
> Hi All,
>
> Kindly review the proposed fix for JDK9.
>
> *Bug: https://bugs.openjdk.java.net/browse/JDK-8172509*
> *
> *
> *Webrev: http://cr.openjdk.java.net/~aniyogi/8172509/webrev.00/
> <http://cr.openjdk.java.net/%7Eaniyogi/8172509/webrev.00/>*
> *
> *
> *Issue: *The focus traversal policy being tested was incorrect
>
> *Cause:* For Aqua and Nimbus, the focus traversal policy used is
> different and as this is tested on default LAF, it fails on Mac OS X
>
> *Fix: *Cross-platform (Metal) LAF is used in case the default LAF is
> either Aqua or Nimbus and the focus traversal works in those cases.
>
> With Regards,
> Avik Niyogi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170111/bcf9502e/attachment.html>
More information about the swing-dev
mailing list