This is an automated email from the ASF dual-hosted git repository. jking pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push: new 36ffe1e THRIFT-4469: Make isServing volatile 36ffe1e is described below commit 36ffe1e8dc5168ea683bb10896377eaffc057667 Author: Beluga Behr <dam6...@gmail.com> AuthorDate: Wed Jan 2 19:24:33 2019 -0500 THRIFT-4469: Make isServing volatile --- lib/java/src/org/apache/thrift/server/TServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/java/src/org/apache/thrift/server/TServer.java b/lib/java/src/org/apache/thrift/server/TServer.java index 80f4f86..bac06b2 100644 --- a/lib/java/src/org/apache/thrift/server/TServer.java +++ b/lib/java/src/org/apache/thrift/server/TServer.java @@ -123,7 +123,7 @@ public abstract class TServer { */ protected TProtocolFactory outputProtocolFactory_; - private boolean isServing; + private volatile boolean isServing; protected TServerEventHandler eventHandler_;