You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2021/10/04 09:57:18 UTC

[tomee] branch master updated: Add missing provider in CXF shaded

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

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f08020  Add missing provider in CXF shaded
7f08020 is described below

commit 7f080202c5db3f4504391df444aa462320ad34ec
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Mon Oct 4 11:57:10 2021 +0200

    Add missing provider in CXF shaded
---
 .../src/patch/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/deps/cxf-shade/src/patch/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java b/deps/cxf-shade/src/patch/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
index 032481c..9577bca 100644
--- a/deps/cxf-shade/src/patch/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
+++ b/deps/cxf-shade/src/patch/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
@@ -219,6 +219,7 @@ public abstract class ProviderFactory {
         providers.add(new StringTextProvider());
         providers.add(new PrimitiveTextProvider<Object>());
         providers.add(JAXB_PROVIDER_CLASS.tryCreateInstance(factory.getBus()));
+        providers.add(JAXB_ELEMENT_PROVIDER_CLASS.tryCreateInstance(factory.getBus()));
         providers.add(MULTIPART_PROVIDER_CLASS.tryCreateInstance(factory.getBus()));
 
         // property set in CxfRsHttpListener