[
https://issues.apache.org/jira/browse/CAMEL-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321386#comment-14321386
]
ASF GitHub Bot commented on CAMEL-8339:
---------------------------------------
Github user tdiesler closed the pull request at:
https://github.com/apache/camel/pull/391
> Usage of camel-mail depends on TCCL
> -----------------------------------
>
> Key: CAMEL-8339
> URL: https://issues.apache.org/jira/browse/CAMEL-8339
> Project: Camel
> Issue Type: Bug
> Components: camel-mail
> Affects Versions: 2.14.1
> Reporter: Thomas Diesler
> Assignee: Willem Jiang
> Fix For: 2.14.2, 2.15.0
>
>
> javax.mail.Session uses TCCL to load resources
> {code}
> Thread.getContextClassLoader() line: 1432 [local variables unavailable]
> Session$3.run() line: 1199
> AccessController.doPrivileged(PrivilegedAction<T>) line: not available
> [native method]
> Session.getContextClassLoader() line: 1194
> Session.loadAllResources(String, Class, StreamLoader) line: 1137
> Session.loadProviders(Class) line: 917
> Session.<init>(Properties, Authenticator) line: 216
> Session.getInstance(Properties, Authenticator) line: 242
> MailConfiguration.createJavaMailSender() line: 175
> MailEndpoint.createProducer() line: 71
> {code}
> Both MailConfiguration & MailProducer seem to rely on this
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)