<Swing Dev> RFR: JDK-8075909: [TEST_BUG] The regression-swing case failed as it does not have the 'Open' button when select 'subdir' folder with NimbusLAF.
Amresh Sahu
github.com+72060147+amresh-sahu at openjdk.java.net
Tue Feb 16 15:29:40 UTC 2021
On Tue, 16 Feb 2021 14:11:49 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Test name(s): javax/swing/JFileChooser/6698013/bug6698013.java
>>
>> Problem: A manual regression test case instructions does not match with the UI shown to the user. Instruction says to click Open button while the File chooser dialog shows the Save button.
>>
>> Fix: There is code in test case to open file save dialog instead of file open dialog. Test case modified to show open file dialog. Fix has been tested on windows platform. This issue is not OS specific.
>
> test/jdk/javax/swing/JFileChooser/6698013/bug6698013.java line 56:
>
>> 54: chooser.showOpenDialog(null);
>> 55: }
>> 56: }
>
> Shall we eliminate code duplication between main() and init()?
init method is part of applet version of test case. It needs to be completely converted to java version. I will do the appropriate changes.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2587
More information about the swing-dev
mailing list