8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed.
Reviewed-by: sspitsyn, cjplummer
This commit is contained in:
parent
af2f4bfa83
commit
4cf195f00c
@ -517,7 +517,9 @@ public class SocketConnection extends BasicSocketConnection {
|
||||
try {
|
||||
return doReadObject();
|
||||
} catch (EOFException e) {
|
||||
return null;
|
||||
e.printStackTrace(logger.getOutStream());
|
||||
throw new Failure("Caught EOFException while reading an object from " + name + " connection."
|
||||
+ " Check if debuggee process exited prematurely (crashed or killed).\n\t");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace(logger.getOutStream());
|
||||
throw new Failure("Caught Exception while reading an object from " + name + " connection:\n\t" + e);
|
||||
|
Loading…
Reference in New Issue
Block a user