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

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

commit 50d7e61a14301f0f5507b81075402afb447f042f
Author: Ranjit Vadakkan <[email protected]>
AuthorDate: Fri May 31 09:19:21 2019 -0400

    CXF-8052: Cannot set JAXB schema compiler options
    
    (cherry picked from commit e15343a76b6578201ff708e8e96930a6ead80b12)
---
 .../java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
 
b/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
index 473d40d..0162460 100644
--- 
a/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
+++ 
b/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
@@ -337,7 +337,7 @@ public class DynamicClientFactory {
 
         addSchemas(compiler.getOptions(), compiler, svc.getServiceInfos(), 
schemas);
         addBindingFiles(bindingFiles, compiler);
-        applySchemaCompilerOptions();
+        applySchemaCompilerOptions(compiler);
         S2JJAXBModel intermediateModel = compiler.bind();
 
         listener.throwException();
@@ -446,7 +446,7 @@ public class DynamicClientFactory {
         return JAXBUtils.createSchemaCompilerWithDefaultAllocator(new 
HashSet<>());    
     }
 
-    protected void applySchemaCompilerOptions() {
+    protected void applySchemaCompilerOptions(SchemaCompiler compiler) {
         if (schemaCompilerOptions != null && schemaCompilerOptions.length > 0) 
{
             compiler.getOptions().parseArguments(schemaCompilerOptions);
         }

Reply via email to