Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900892

Add -nativepath flag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jtreg4.1
    • None
    • tools
    • None
    • b10

      I would like to see the addition of a flag to specify the path of the test binaries. Iā€™m thinking something like ā€œ-natives:<path>ā€. This would do two things:

      - Set the java.library.path when invoking tests. This is needed for System.loadLibrary() to work.
      - Set a test.natives property. This is needed in the cases where the test binary is not a library, but a program. In this case the test will want to launch that program and needs the path to the program.

      Both of these would be set to <path> above. Jtreg should check that the path exists.

      See this email thread for a discussion: http://mail.openjdk.java.net/pipermail/jtreg-dev/2014-April/000107.html

            sla Staffan Larsen (Inactive)
            sla Staffan Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: