RFR: 4834298: JFileChooser.getSelectedFiles() failed with multi-selection and double-click [v3]

Jayathirth D V jdv at openjdk.org
Thu Sep 8 10:45:51 UTC 2022


On Thu, 8 Sep 2022 10:09:24 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/javax/swing/JFileChooser/MultiSelectionEnabledSelectedFilesTest.java line 39:
>> 
>>> 37:  * @run main/manual MultiSelectionEnabledSelectedFilesTest
>>> 38:  */
>>> 39: public class MultiSelectionEnabledSelectedFilesTest {
>> 
>> Is this bug specific to any platform?
>> Because the test is created to run on all platforms and it doesnt fail in my Mac.
>
> Yeah, it doesn't fail in mac. It does fail in windows and linux, so didn't make any os specific. Still I have tested in all platforms and it works fine. The bug was raised as linux specific.

Why the test doesnt fail in Mac(In my case second dialog doesnt exit and it stays on the screen, which will result in timeout and jtreg error on Mac)? 

It looks like fix is not some platform specific change.

-------------

PR: https://git.openjdk.org/jdk/pull/9996



More information about the client-libs-dev mailing list