On Mon, 18 Jan 2021 11:03:06 GMT, Martin Buchholz <mar...@openjdk.org> wrote:
>> 8252412: [macos11] system dynamic libraries removed from filesystem > > Martin Buchholz has refreshed the contents of this pull request, and previous > commits have been removed. The incremental views will show differences > compared to the previous content of the PR. src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java line 132: > 130: // existence of the containing directory instead of the file. > 131: lib = PCSC_FRAMEWORK; > 132: if (new File(lib).getParentFile().isDirectory()) { This is outside of my normal area, could you please explain why checking the existence of the containing directory is equivalent to checking the file here? Does it provide the expected behavior on all unix-like platforms or only macos? Could you please also provide a jtreg test for this change? ------------- PR: https://git.openjdk.java.net/jdk/pull/2119