RFR: 8281966: Absolute path of symlink is null in JFileChooser [v2]
Tejesh R
tr at openjdk.org
Wed Aug 3 15:54:45 UTC 2022
On Wed, 3 Aug 2022 15:47:25 GMT, Tejesh R <tr at openjdk.org> wrote:
> > It does not work.
> > In the single-selection case, I see the following output:
> > ```
> > Absolute Path : null
> > Absolute Path : C:\filechooser\link
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Above, `null` corresponds to `C:\filechooser\target` folder which is the target of the `link`.
> > Neither does it work in the multi-selection case:
> > ```
> > Absolute Path : C:\filechooser
> > Absolute Path : null
> > Absolute Path : C:\filechooser\target
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > But now it doesn't work in a different way: `link` is reported as `null`.
> > I can't see none of the comments addressed in the test even though you explicitly added comments that you updated the code. A missing push?
>
> Yeah, sorry for that, I had missed to push the updates.
For link it doesn't work, I have updated only for symbolic links and not for .lnk. .lnk logic is retained as it is.
-------------
PR: https://git.openjdk.org/jdk/pull/9597
More information about the client-libs-dev
mailing list