<Swing Dev> 8172509: [TEST_BUG] [macosx] Failure of the new test java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java

Avik Niyogi avik.niyogi at oracle.com
Wed Jan 11 08:46:01 UTC 2017


Hi All,

Kindly review the proposed fix for JDK9.

Bug: https://bugs.openjdk.java.net/browse/JDK-8172509 <https://bugs.openjdk.java.net/browse/JDK-8172509>

Webrev: http://cr.openjdk.java.net/~aniyogi/8172509/webrev.00/ <http://cr.openjdk.java.net/~aniyogi/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/694dde75/attachment.html>


More information about the swing-dev mailing list