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

Tejesh R tr at openjdk.org
Fri Sep 2 05:49:43 UTC 2022


On Thu, 1 Sep 2022 06:24:17 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated based on review comments
>
> src/java.desktop/share/classes/sun/swing/FilePane.java line 1760:
> 
>> 1758:             //If selected, retain them and update the selected files in FileChooser class.
>> 1759:             File[] selectedFiles = null;
>> 1760:             if(getFileChooser().getSelectedFiles().length != 0) {
> 
> let's add space after `if`s

Updated.

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

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



More information about the client-libs-dev mailing list