RFR: 4834298: JFileChooser.getSelectedFiles() failed with multi-selection and double-click [v3]
Tejesh R
tr at openjdk.org
Thu Sep 8 10:58:58 UTC 2022
On Thu, 8 Sep 2022 10:53:53 GMT, Tejesh R <tr at openjdk.org> wrote:
>> 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.
>
> The fix handles Windows and linux platforms, since FilePane.class is involved on mode selection. In Mac its doesn't come thought this path, I guess it handles some other way. The issue doesn't occur on key press also (All platforms), since the path of setting selected files are different for each scenario.
I guess the dialogue is not not been removed when exception is thrown. Will take a look into it.
-------------
PR: https://git.openjdk.org/jdk/pull/9996
More information about the client-libs-dev
mailing list