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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Description

      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

      }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: