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

Several runtime/Thread tests should mark as /native

XMLWordPrintable

    • b08
    • generic
    • generic

        Already mark as /native:
        runtime/Thread/SuspendAtExit.java
        runtime/Thread/StopAtExit.java

        Needed to mark as /native:
        runtime/Thread/AsyncExceptionTest.java
        runtime/Thread/AsyncExceptionOnMonitorEnter.java
        runtime/Thread/TestBreakSignalThreadDump.java#with_jsig
        runtime/Thread/TestBreakSignalThreadDump.java#default


        Without -nativepath jtreg option, the test will report test failure, such as:
        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]

              syan Sendao Yan
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: