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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • 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

      }

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

              Created:
              Updated:
              Resolved: