Michael Suhr created AXIS2-6093:
-----------------------------------

             Summary: wsdl2code Maven Plugin: SchemaPropertyLoader is not 
thread safe
                 Key: AXIS2-6093
                 URL: https://issues.apache.org/jira/browse/AXIS2-6093
             Project: Axis2
          Issue Type: Improvement
          Components: adb, Tools
            Reporter: Michael Suhr


The {{WSDL2CodeMojo}} is marked as threadSafe. But if I compile a multi-module 
project with wsdl files, targeting different packages, then my files are 
mixed-up during compilation.

My guess is the usage in {{SchemaCompiler}} because these are static ones.
{code:java|title=org.apache.axis2.schema.SchemaCompiler#SchemaCompiler}
//load the writer and initiliaze the base types
        writer = SchemaPropertyLoader.getBeanWriterInstance();
        writer.init(this.options);
{code}

I try to create a small sample to reproduce it easily or add a test to project



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to