You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2021/01/17 01:03:54 UTC

[cxf] branch 3.4.x-fixes updated (af75fc2 -> e2fdfa5)

This is an automated email from the ASF dual-hosted git repository.

reta pushed a change to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git.


    from af75fc2  Update to Spring Boot 2.3.8.RELEASE
     new 618d4f7  CXF-8394: Fix org.apache.cxf.systest.jaxrs.JAXRSContinuationsServlet3Test.testCancelVoidOnResumedTest
     new e2fdfa5  Recording .gitmergeinfo Changes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitmergeinfo                                                 |  3 +++
 .../test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java | 11 ++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)


[cxf] 01/02: CXF-8394: Fix org.apache.cxf.systest.jaxrs.JAXRSContinuationsServlet3Test.testCancelVoidOnResumedTest

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 618d4f7610214d3c62f7fc300e5d2e9aa15ada34
Author: reta <dr...@gmail.com>
AuthorDate: Sat Jan 16 12:44:12 2021 -0500

    CXF-8394: Fix org.apache.cxf.systest.jaxrs.JAXRSContinuationsServlet3Test.testCancelVoidOnResumedTest
    
    (cherry picked from commit 7ac1006b3496f7e9dc8814a1ed8c683c4a50517f)
---
 .../test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java
index 4b75774..cb7b49e 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AsyncResource.java
@@ -18,8 +18,9 @@
  */
 package org.apache.cxf.systest.jaxrs;
 
-import java.util.Queue;
 import java.util.concurrent.ArrayBlockingQueue;
+import java.util.concurrent.BlockingQueue;
+import java.util.concurrent.TimeUnit;
 
 import javax.ws.rs.GET;
 import javax.ws.rs.POST;
@@ -97,7 +98,7 @@ public class AsyncResource {
     }
 
     private static class AsyncResponseQueue {
-        Queue<AsyncResponse> queue = new ArrayBlockingQueue<>(1);
+        BlockingQueue<AsyncResponse> queue = new ArrayBlockingQueue<>(1);
 
         public void add(AsyncResponse asyncResponse) {
             queue.add(asyncResponse);
@@ -105,7 +106,11 @@ public class AsyncResource {
         }
 
         public AsyncResponse take() {
-            return queue.remove();
+            try {
+                return queue.poll(50, TimeUnit.MILLISECONDS);
+            } catch (InterruptedException ex) {
+                return null;
+            }
         }
 
     }


[cxf] 02/02: Recording .gitmergeinfo Changes

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit e2fdfa58006a2813dedb0fdb4ce8d9542935c060
Author: reta <dr...@gmail.com>
AuthorDate: Sat Jan 16 20:03:30 2021 -0500

    Recording .gitmergeinfo Changes
---
 .gitmergeinfo | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitmergeinfo b/.gitmergeinfo
index cefd60b..0f2f843 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -26,6 +26,8 @@ M 7a05e4fb0b67a89b86ed6eee68b9416005d6f631
 M 88907f141ee80792627da3cc7846d1562f6c0238
 M 8b67b6f672d25f1128924e8aac58a6f395fe3511
 M 8c4f04855a5d8623daff2aa8a8856367879c624b
+M 954085421900efbf89643b5ab8f187a237e42eb4
+M 9bb8e487235d728bb80a90e7e2f4a9433b5ef033
 M 9c17f2fb90a9929d0dc8e4f090da78547a4e7a02
 M 9df9b22a4032b19ea953600ebdfa84e8c15d2370
 M 9f939eefbd41ee5c0e88b41c2e177fdbc5cbdd26
@@ -35,6 +37,7 @@ M c070a8f50d83b82d864884020a64d1d67f5e7c95
 M c0ef051466d775c84ddb20a9a12025d4258fb18b
 M c2244fa94cd86e1bd1068f36d9fe2f88269f2a74
 M d6a299217dd943a3872da9b0afb7f966ab289cc0
+M d88202133e39bebdb966b6ccfed57e1ff9d73638
 M e0dbc85b5b3383c48fecb97ac11608d7b8c82cc5
 M e775237e6dcb16b647d102bcbb3908d3e9fce1de
 M fb7821164ec6d7fb98dc3f8caea67465db230a14