Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName()

XMLWordPrintable

    • 25
    • b26

        There were a number of changes in JDK-8356811 and JDK-8356588 that left a new Debuggee.classByName() call outside of any try block that would detect failures and force a call to quitDebuggee(). It was proven that this is technically not necessary (the test and debuggee still exit quickly and with a valid exception stack trace), but it would be good to clean up the cases that are easily fixed by extending the try clause up a few lines to before the classByName() call.

              Assignee:
              Chris Plummer
              Reporter:
              Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: