author | michaelm |
Thu, 10 Nov 2011 15:30:45 +0000 | |
changeset 11014 | 456742d63643 |
parent 11012 | 13ee761ef120 |
child 11015 | cc6fd1f079de |
jdk/src/share/classes/sun/net/httpserver/ServerImpl.java | file | annotate | diff | comparison | revisions |
--- a/jdk/src/share/classes/sun/net/httpserver/ServerImpl.java Wed Nov 09 15:51:18 2011 +0800 +++ b/jdk/src/share/classes/sun/net/httpserver/ServerImpl.java Thu Nov 10 15:30:45 2011 +0000 @@ -402,10 +402,10 @@ } catch (IOException e) { logger.log (Level.FINER, "Dispatcher (4)", e); } catch (Exception e) { - e.printStackTrace(); logger.log (Level.FINER, "Dispatcher (7)", e); } } + try {selector.close(); } catch (Exception e) {} } private void handleException (SelectionKey key, Exception e) {