Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233830 nsk/jdi tests have a lot of duplicated code
  3. JDK-8235544

Merge threadByName methods in nsk/share/jdi/Debugee.java

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-svc
    • None

      There are similar threadByName and threadByNameOrThrow in nsk/share/jdi/Debugee.java

      threadByName returns null or throw TestBug if there are more than 1 such method found

      threadByNameOrThrow throws JDITestRuntimeException if thread not found.

      Need to check if it is possible to merge them into single method which allow one and only on thread

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

              Created:
              Updated: