Hi,

please review this small fix. The test case uses a custom launcher and before 
launching the JVM, it adds the "lib" and "lib/server" directories to the 
environment variable which controls the native library search path. For non 
server variants, the second directory is not called "lib/server", but 
"lib/client", for instance.

I changed the test case to use the utility methods in `Platform` to get the 
correct paths, dependent on the VM variant.

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

Commit messages:
 - 8269486: CallerAccessTest fails for non server variant

Changes: https://git.openjdk.java.net/jdk17/pull/159/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=159&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269486
  Stats: 6 lines in 1 file changed: 0 ins; 3 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/159.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/159/head:pull/159

PR: https://git.openjdk.java.net/jdk17/pull/159

Reply via email to