<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 11:01:46 UTC 2017


Hi All,
I have addressed the inputs received in the following update. Please review the same for JDK 9.
http://cr.openjdk.java.net/~aniyogi/8172509/webrev.01/ <http://cr.openjdk.java.net/~aniyogi/8172509/webrev.01/>

With Regards,
Avik Niyogi
> On 11-Jan-2017, at 4:22 pm, Prasanta Sadhukhan <prasanta.sadhukhan at oracle.com> wrote:
> 
> 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 <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/1942f577/attachment.html>


More information about the swing-dev mailing list