hg: jdk9/dev/jdk: 8066130: com.sun.net.httpserver stop() throws NullPointerException if it is not started

mark.sheppard at oracle.com mark.sheppard at oracle.com
Mon Dec 1 17:19:22 UTC 2014


Changeset: f03540dec7ca
Author:    msheppar
Date:      2014-12-01 17:20 +0000
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/f03540dec7ca

8066130: com.sun.net.httpserver stop() throws NullPointerException if it is not started
Summary: added null check on dispatcherThread variable in stop method
Reviewed-by: chegar

! src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java
+ test/com/sun/net/httpserver/StopNoStartTest.java



More information about the jdk9-dev-changes mailing list