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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • core-svc

        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.

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

                Created:
                Updated:
                Resolved: