You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2018/01/30 15:18:14 UTC
[cxf] branch master updated: [CXF-7575] Adding the volatile
qualifiers back
This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new c94fd15 [CXF-7575] Adding the volatile qualifiers back
new edc0b18 Merge branch 'master' of https://gitbox.apache.org/repos/asf/cxf
c94fd15 is described below
commit c94fd15020b018b21321d27ee3076c7da72e560c
Author: Sergey Beryozkin <sb...@gmail.com>
AuthorDate: Tue Jan 30 15:17:43 2018 +0000
[CXF-7575] Adding the volatile qualifiers back
---
.../main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
index dbf5f03..3da5e54 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
@@ -50,11 +50,11 @@ public class AsyncResponseImpl implements AsyncResponse, ContinuationCallback {
private Continuation cont;
private Message inMessage;
private TimeoutHandler timeoutHandler;
- private boolean initialSuspend;
- private boolean cancelled;
- private boolean done;
- private boolean resumedByApplication;
- private Long pendingTimeout;
+ private volatile boolean initialSuspend;
+ private volatile boolean cancelled;
+ private volatile boolean done;
+ private volatile boolean resumedByApplication;
+ private volatile Long pendingTimeout;
private List<CompletionCallback> completionCallbacks = new LinkedList<CompletionCallback>();
private List<ConnectionCallback> connectionCallbacks = new LinkedList<ConnectionCallback>();
--
To stop receiving notification emails like this one, please contact
sergeyb@apache.org.