Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee

XMLWordPrintable

    • b21

        In an effort go get rid of calls to Debugee.threadByName() or Debugee.threadByNameOrThrow(), I found that many tests store the thread being looked up in a static field of the debuggee. The test can fetch the ThreadReference from the static field instead of looking it up using APIs that rely on vm.allThreads().

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

                Created:
                Updated:
                Resolved: