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

[Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      The test:

      runtime/XCheckJniJsig/XCheckJSig.java

      still expects to find libraries in the lib/<arch> directory on Linux/Solaris:

            } else {
                  env_var = "LD_PRELOAD";
                  libjsig = jdk_path + "/jre/lib/" + os_arch + "/libjsig.so"; // jdk location
                  if (!(new File(libjsig).exists())) {
                      libjsig = jdk_path + "/lib/" + os_arch + "/libjsig.so"; // jre location
                  }
              }

      but the arch directory was removed from the JRE a long time ago.

      The test doesn't fail because it "skips" when the library can't be found:

      TEST: runtime/XCheckJniJsig/XCheckJSig.java
        build: 2.09 seconds
        compile: 2.09 seconds
        main: 0.772 seconds
      TEST RESULT: Passed. Skipped: jtreg.SkippedException: File /export/users/dh198349/jdk-dev3/open/test/hotspot/jtreg/../../../../build/linux-x64-debug/images/jdk/lib/amd64/libjsig.so not found
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: