8199437: Improve diagnostic system assertion message in com.sun.net.httpserver impl

Reviewed-by: alanb, dfuchs
This commit is contained in:
Chris Hegarty 2018-03-21 09:06:45 +00:00
parent dca38708e5
commit 2c73c97dd0

@ -407,7 +407,7 @@ class ServerImpl implements TimeSource {
}
handle (chan, conn);
} else {
assert false;
assert false : "Unexpected non-readable key:" + key;
}
} catch (CancelledKeyException e) {
handleException(key, null);