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

MM: TESTCASE BUG in ThreadUserTime.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:

      Description

      Test case bug in:

      java/lang/managment/ThreadMXBean/ThreadUserTime.java


      Here newTime should be greater than times[i]+DELTA.

                  if ((times[i] + DELTA) < newTime) {
                      throw new RuntimeException("TEST FAILED: " +
                          threads[i].getName() +
                          " user time = " + newTime +
                          " previous user time " + times[i] +
                          " out of expected range");
                  }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              swamyv Swamy Venkataramanappa
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: