jamesnetherton commented on PR #186:
URL: https://github.com/apache/xalan-java/pull/186#issuecomment-2063923919

   @jkesselm there's an overview here:
   
   https://issues.apache.org/jira/browse/XALANJ-2664
   
   My use case is for XSLT with Apache Camel Quarkus where we support running 
applications natively on GraalVM. We have to do translet compilation at build 
time since it can't be done dynamically at runtime with GraalVM.
   
   Due to how Quarkus organises its ClassLoaders for the build time 
augmentation phase, relying on the system ClassLoader is not guaranteed to work.
   
   Hence using get `ObjectFactory` to figure out the parent ClassLoader. Which 
seems to be consistent with how things are done elsewhere, like in 
`TransletClassLoader`:
   
   
https://github.com/apache/xalan-java/blob/c8ddaade0e640383aead7c02a76759155922690e/xalan/src/main/java/org/apache/xalan/xsltc/trax/TemplatesImpl.java#L283-L288
   
   
https://github.com/apache/xalan-java/blob/c8ddaade0e640383aead7c02a76759155922690e/xalan/src/main/java/org/apache/xalan/xsltc/trax/TemplatesImpl.java#L119-L130


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to