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

[TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:
      None

      Description

      One of the changes done for JDK-8161225 was to have it properly check the exit value of subprocesses it creates. Previously it just made sure there was no ASSERT message in the output. The extra check is catching failures (presumably pre-existing) that only seem to turn up with run under jprt, and for that matter only when run with a batch of tests (using jdk_instrument test group or jdk/test/java/lang/instrument path). It does not fail standalone under jprt, and it does not fail when run under RBT, even as part of a batch.

      The failure seems to be classpath related, and is causing TestDaemonThreadLauncher not to be able to find TestDaemonThread when it launches it as a subprocess.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjplummer Chris Plummer
                Reporter:
                cjplummer Chris Plummer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: