RFR: 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError

Phil Race prr at openjdk.org
Thu Jan 5 21:40:49 UTC 2023


On Mon, 26 Dec 2022 05:17:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This assertion happens when we try to build the path linked by the shortcut file when part of that path is not accessible. For example, if the ".lnk" file is pointed to the "windows-update. settings" inside the "Internet.settings". 
> 
> After the change, we will skip the target of the link if any part of the path to the target is not a folder and is not traversable in JFileChooser.

What do people mean by Control Panel ? Do you mean Windows (File) Explorer ?
If you do mean Control Panel I think I need a picture or two to show me how that affects FileChooser.
Is that lnk file format something that is "stable" across Windows releases ?

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

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



More information about the client-libs-dev mailing list