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

Incorrect error message in vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001/TestDescription.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-svc
    • Labels:

      Backports

        Description

        See code:
                        listIterator = allThreads.listIterator();
                        for (;;) {
                            try {
                                mainThread = (ThreadReference) listIterator.next();
                                if (mainThread.name().equals("main"))
                                    break ;
                            } catch ( NoSuchElementException e ) {
                                log3("ERROR: NoSuchElementException for listIterator.next()");
                                log3("ERROR: NO THREAD2 ?????????!!!!!!!");
                                expresult = returnCode1;
                                break label0;
                            }
                        }

        Should be NO MAIN Thread or something like this.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lmesnik Leonid Mesnik
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: