mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 09:40:10 +00:00
8213583: Error while opening the JFileChooser when desktop contains shortcuts pointing to deleted files
Reviewed-by: kaddepalli, aivanov, serb
This commit is contained in:
parent
3b08bdb0c7
commit
8a217022ca
@ -745,7 +745,7 @@ JNIEXPORT jlong JNICALL Java_sun_awt_shell_Win32ShellFolder2_getLinkLocation
|
||||
hres = ppf->Load(wstr, STGM_READ);
|
||||
if (SUCCEEDED(hres)) {
|
||||
if (resolve) {
|
||||
hres = psl->Resolve(NULL, 0);
|
||||
hres = psl->Resolve(NULL, SLR_NO_UI);
|
||||
// Ignore failure
|
||||
}
|
||||
pidl = (LPITEMIDLIST)NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user