Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269486

CallerAccessTest fails for non server variant

XMLWordPrintable

        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. The VM fails to start with the following output:

        /home/cgo/dev/openjdk/jdk/build/linux-x86_64-client-fastdebug/images/test/jdk/jtreg/native/CallerAccessTest: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

              cgo Christoph Göttschkes (Inactive)
              cgo Christoph Göttschkes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: