On Wed, 17 Feb 2021 03:56:56 GMT, Amresh Sahu <github.com+72060147+amresh-s...@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. > > Amresh Sahu has updated the pull request incrementally with one additional > commit since the last revision: > > Update bug6698013.java I guess since you are modifying the test, it's better to convert into main based from applet. Please remove %W% %E% from @test tag and also @author tag Also, JFileChooser.showOpenDialog() can throw HeadlessException, so you need to mark the test @headful once you convert to main based. ------------- PR: https://git.openjdk.java.net/jdk/pull/2587