The fix looks good to me.

  Is it possible to write an automated test for the fix?

  Thanks,
  Alexandr.

On 12/21/2015 2:55 PM, Avik Niyogi wrote:
Hi All,

Kindly review the bug fix for JDK 9.

Bug:

Webrev:

Issue:
The manual test: Swing_AllComponents/Manual/I18nSwingTests

Cause:
Due to not honouring of RIGHT_TO_LEFT parameter for setOrientation method applied for a JFileChooser for the AquaLookAndFeel only,
the fileChooser does not get displayed in RIGHT_TO_LEFT orientation. 
This issue was verified to exist only in AquaLookAndFeel for JFileChooser only due to wrong implementation in AquaFileSystemModel.
Also, as provided in comments: "The Aqua LAF must support the RTL orientation of JFileChooser."

Fix:
Added implementation for the check of RIGHT_TO_LEFT ComponentOrientation and verified with test suite.


With Regards,
Avik Niyogi

Reply via email to