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

Sergey Bylokhov serb at openjdk.org
Mon Dec 26 23:13:41 UTC 2022


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.

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

Commit messages:
 - 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError

Changes: https://git.openjdk.org/jdk/pull/11789/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11789&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8227257
  Stats: 84 lines in 4 files changed: 80 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/11789.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11789/head:pull/11789

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



More information about the client-libs-dev mailing list