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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • core-svc
    • Fix Understood
    • 25

      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.

            cjplummer Chris Plummer
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: