DynamicClientFactory.createClient API would throw an exception with source path 
instead of classes path when classes.mkdir() call fails
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-2124
                 URL: https://issues.apache.org/jira/browse/CXF-2124
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.1.4
            Reporter: Arulazi Dhesiaseelan
            Priority: Minor


https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java

The following code is not using the classes path in the exception message when 
classess.mkdir fails.
        File classes = new File(tmpdir, stem + "-classes");
        if (!classes.mkdir()) {
            throw new IllegalStateException("Unable to create working directory 
" + src.getPath());// change this to classes.getPath()
        }

Let me know if I need to submit a patch. Hope this is a simple fix to make. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to