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 2022/03/23 00:13:20 UTC

[cxf] branch 3.5.x-fixes updated: Fixing minor regression introduced by CXF-8680

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

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


The following commit(s) were added to refs/heads/3.5.x-fixes by this push:
     new 38dc71d  Fixing minor regression introduced by CXF-8680
38dc71d is described below

commit 38dc71d013c756503f7f02d7a04d3ba5e8cc7429
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Mar 22 19:36:50 2022 -0400

    Fixing minor regression introduced by CXF-8680
    
    (cherry picked from commit fc5ce41f802824e0505de33b602536f55ee7065f)
---
 .../src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
index 76bcbc0..f03ff45 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
@@ -586,7 +586,7 @@ public class ClientProxyImpl extends AbstractClient implements
             } else if (requestBody != null) {
                 getBeanGetter(requestBody.getClass(), varName, new Class<?>[] {}).ifPresent(getter -> {
                     try {
-                        getter.invoke(requestBody, new Object[] {});
+                        list.add(getter.invoke(requestBody, new Object[] {}));
                     } catch (Exception ex) {
                         // continue
                     }