RFR: 8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"

Mandy Chung mchung at openjdk.org
Thu Nov 2 01:06:19 UTC 2023


The test fails on windows because unmatched comparison of `Path.toString()` vs `URL.getPath().toString()` after JDK-8317965.   A simple fix is to evaluate the JAR file path in the same way as `LoadLibraryDeadlock` does.

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

Commit messages:
 - 8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"

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

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


More information about the core-libs-dev mailing list