|
As I understand it, we added TcclSafeAggregatedClassLoader specifically to pass the initial TCCL as the parent because Tomcat looks in the chain of ClassLoader->parent for its own ClassLoader before allowing certain things to happen. See https://hibernate.atlassian.net/browse/HHH-8818?focusedCommentId=57809&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-57809
Does it really come down to "some environments need the present TCCL passed as the parent of the TCCL we swap in, whereas others need null"?
|