Peter Keller created XMLBEANS-620:
-------------------------------------

             Summary: More robustness needed when setting up JavaParser's 
ProjectRoot
                 Key: XMLBEANS-620
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-620
             Project: XMLBeans
          Issue Type: Bug
          Components: Binding
    Affects Versions: Version 5.1.0
         Environment: Linux, OpenJDK, OpenJ9
            Reporter: Peter Keller


I have encountered some fragility with the interface extension mechanism around
working out the root directory for JavaParser's
[ProjectRoot|https://www.javadoc.io/doc/com.github.javaparser/javaparser-core/latest/com/github/javaparser/utils/ProjectRoot.html].
 I
will soon upload a test case that shows a scenario where the choice of JDK for
the schema compilation makes the difference between succeeding, and failing
with ["Unable to construct a common project root - giving 
up."|https://github.com/apache/xmlbeans/blob/052e9f00d5af77c3338021b499678b933b3c476a/src/main/java/org/apache/xmlbeans/impl/config/ChildSolverCollectionStrategy.java#L83].
 IMHO
sorting this issue out needs more than simply getting a test case to work,
rather some thought is needed about what is really required.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to