On Mon, 5 Dec 2022 11:35:11 GMT, Tejesh R <[email protected]> wrote: > When `JFileChooser` uses custom `FileSystemView`, traversing to link/shortcut > to a folder throw `InternalError java.lang.InternalError ` in Windows. The > issue found out to be in BasicFileChooserUI class which was unable to resolve > the link path during directory setting. The `UsesShellFolder` check expects > the FileSystemView to be of WindowsFileSystemView, which fails when custom > FileSystemView is used. > The fix includes resolving the link folder when custom File System View is > used and has manual test. (Fix is test in CI system and no regression caused).
This pull request has now been integrated. Changeset: d5cf18e7 Author: Tejesh R <[email protected]> URL: https://git.openjdk.org/jdk/commit/d5cf18e7fb591185eecb042bfa015609ea7d15e0 Stats: 238 lines in 2 files changed: 225 ins; 4 del; 9 mod 8296198: JFileChooser throws InternalError java.lang.InternalError with Windows shortcuts Reviewed-by: serb, abhiscxk ------------- PR: https://git.openjdk.org/jdk/pull/11510
