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

Incorrect check in vmTestbase/nsk/jvmti/GetAllThreads/allthr001

XMLWordPrintable

      The check

      https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetAllThreads/allthr001/allthr001.cpp#L264

      should use 'i' and not 'j'
      found = (inf.name != NULL && strcmp(inf.name, thrInfo[ind].expected.thrNames[j]) == 0);

      expected.thrNames[j] --> expected.thrNames[i]

            rsunderbabu Ramkumar Sunderbabu
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: