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

runtime/jni/checked/TestCheckedJniExceptionCheck.java doesn't set -Djava.library.path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 17
    • 17
    • hotspot
    • b33

    Backports

      Description

        TestCheckedJniExceptionCheck spawns a child JVM that uses a test native library, TestCheckedJniExceptionCheck, but it doesn't add/set test.nativepath value to -Djava.library.path, so the child JVM can't find the library and fails.

        this issue hasn't been noticed early b/c TestCheckedJniExceptionCheck doesn't check the exit code of the child JVM.

        Attachments

          Issue Links

            Activity

              People

                iignatyev Igor Ignatyev (Inactive)
                iignatyev Igor Ignatyev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: