[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    RFR: 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
From:       Sergey Bylokhov <serb () openjdk ! org>
Date:       2022-12-26 23:13:41
Message-ID: cocMPNEB_pT0xJte81zvjMY_OXDmtNwajviD6LAfqsw=.5f205c88-1630-4b97-882b-c20ee47493ed () github ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic