RFR: 8281966: Absolute path of symlink is null in JFileChooser [v2]
Alexey Ivanov
aivanov at openjdk.org
Wed Aug 3 13:25:27 UTC 2022
On Wed, 3 Aug 2022 07:55:33 GMT, Tejesh R <tr at openjdk.org> wrote:
>> test/jdk/javax/swing/JFileChooser/FileChooserSymLinkTest.java line 76:
>>
>>> 74: 2. Create a Symbolic link targeting the created test directory.
>>> 75: ex : mklink /D c:\\link c:\\target
>>> 76: 3. In JFileChooser, navigate to "link" created directed.
>>
>> …navigate to directory where you created the link. In this example, to C:\ drive.
>>
>> Please use the capital C: for the drive.
>
> Updated.
I can't see it updated.
In fact I suggest providing a script.
1. Open an elevated Command Prompt.
2. Paste the following commands:
cd /d C:\
mkdir filechooser
cd filechooser
mkdir target
mklink /d link target
3. Navigate to C:\filechooser in the JFileChooser.
4. ...
5. When done with testing, paste the following commands to remove the 'filechooser' directory
cd \
rmdir /s /q filechooser
or use File Explorer to clean it up.
-------------
PR: https://git.openjdk.org/jdk/pull/9597
More information about the client-libs-dev
mailing list