Hi Alex, On Wed, Jun 28, 2017 at 6:53 PM, albundy <[email protected]> wrote: > One more note regarding this though - ".. tries to setup a security feature > of Xerces ... and it is only triggered if Xerces is present on the > classpath". I don't have Xerces in the classpath and I did not see any "if" > in XmlConverter.createDocumentBuilderFactory() so it seems that it always > tries to load that SecurityManager class.. or did I miss something again?
ObjectHelper::loadClass delegates to ObjectHelper::doLoadClass[1] that will return `null` if the class cannot be loaded, so that check: `if (smClass != null)`[2] will guard in that situation, zoran [1] https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java#L1211 [2] https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java#L1137 -- Zoran Regvart
