langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java
--- 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;
}