[jdk17] Integrated: 8269486: CallerAccessTest fails for non server variant

Christoph Göttschkes cgo at openjdk.java.net
Wed Jun 30 17:12:01 UTC 2021


On Mon, 28 Jun 2021 13:14:51 GMT, Christoph Göttschkes <cgo at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 1da5d4bb
Author:    Christoph Göttschkes <cgo at openjdk.org>
Committer: Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/1da5d4bb780fc3ab02aa6cddc243fbf1b079851a
Stats:     7 lines in 1 file changed: 0 ins; 3 del; 4 mod

8269486: CallerAccessTest fails for non server variant

Reviewed-by: dholmes, stuefe, mchung, jvernee

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

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


More information about the core-libs-dev mailing list