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

Make TestNative work without -nativepath

    XMLWordPrintable

Details

    • jfr
    • b09

    Description

      TestNative compiles a JNI method and verifies that a native sample event can be taken. This works well when running tests using 'make test', but is a nuisance when running JFR test from the command line as you need to specify -nativepath or the test fails.

      Instead of compiling a native method, we could use an already existing native method in the jdk.jfr.JVM class.

      Attachments

        Issue Links

          Activity

            People

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: