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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: