RFR: 8281966: Absolute path of symlink is null in JFileChooser
Tejesh R
tr at openjdk.org
Mon Aug 1 07:20:39 UTC 2022
On Fri, 29 Jul 2022 18:28:45 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java line 749:
>>
>>> 747: } else {
>>> 748: chooser.setSelectedFile(null);
>>> 749: }
>>
>> What about the case where multiselection is enabled? It likely needs updating too.
>
> Are symbolic links to files handled correctly?
In multiselection case the same issue exists where it doesn't allow user to multi select the Symbolic links. Code modification is required to handle multiselection case. And symbolic links to files are handled correctly, no issue with that.
-------------
PR: https://git.openjdk.org/jdk/pull/9597
More information about the client-libs-dev
mailing list