I've been able to reproduce the socket teardown failure in tc10x001.
It appears that the debugee sends it's final output and then exits.
If the debugee exits while the debugger is receiving the final output,
it can result in a socket error.

This proposed fix forces the debugee to wait until the debugger
acknowledges it has processed the final output before exitting.

  Webrev: http://cr.openjdk.java.net/~gadams/8013728/webrev.01/

The original bug was filed before these tests were in the open repos.

None of the other tests in the nsk/jdi/BScenarios set have shown this problem,
because they do not have an early debuggee exit sequence.

Reply via email to