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

View file

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