com/sun/jdi/JdwpAttachTest.java reports error incorrectly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: None
    • Component/s: core-svc
    • b20
    • generic
    • generic

      com/sun/jdi/JdwpAttachTest.java incorrectly reports the case when successful attach is expected, but some error occurs:

      if (expectedResult) {
          log("OK: attached as expected");
      } else {
          throw new RuntimeException("ERROR: LingeredApp.startApp was able to attach"); <== the attach is actually failed

      }

            Assignee:
            Alex Menkov
            Reporter:
            Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: