8199437: Improve diagnostic system assertion message in com.sun.net.httpserver impl
Reviewed-by: alanb, dfuchs
--- a/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java Tue Mar 20 17:42:20 2018 -0700
+++ b/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java Wed Mar 21 09:06:45 2018 +0000
@@ -407,7 +407,7 @@
}
handle (chan, conn);
} else {
- assert false;
+ assert false : "Unexpected non-readable key:" + key;
}
} catch (CancelledKeyException e) {
handleException(key, null);