langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java
changeset 26263 5ce1fe94b270
parent 26107 a4a156a33c94
child 26271 97603426a4ce
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java	Tue Aug 19 15:34:01 2014 -0700
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java	Fri Aug 22 12:25:01 2014 +0200
@@ -310,7 +310,7 @@
 
     @Override
     public void shutdown(String quitMsg) {
-        if (!keepAcceptingRequests.compareAndSet(false, true)) {
+        if (!keepAcceptingRequests.compareAndSet(true, false)) {
             // Already stopped, no need to shut down again
             return;
         }