[
https://issues.apache.org/jira/browse/CAMEL-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317866#comment-14317866
]
ASF GitHub Bot commented on CAMEL-8338:
---------------------------------------
GitHub user tdiesler opened a pull request:
https://github.com/apache/camel/pull/390
[CAMEL-8338] ScriptBuilder relies on TCCL to discover engines
https://issues.apache.org/jira/browse/CAMEL-8338
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tdiesler/camel camel-8338
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/390.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #390
----
commit 28acb568489f78cee4278059d7f9ab8f1cca1d21
Author: Thomas Diesler <[email protected]>
Date: 2015-02-12T09:20:16Z
[CAMEL-8338] ScriptBuilder relies on TCCL to discover engines
----
> ScriptBuilder relies on TCCL to discover engines
> ------------------------------------------------
>
> Key: CAMEL-8338
> URL: https://issues.apache.org/jira/browse/CAMEL-8338
> Project: Camel
> Issue Type: Bug
> Components: camel-script
> Affects Versions: 2.14.1
> Reporter: Thomas Diesler
>
> ScriptBuilder uses javax.script.ScriptEngineManager default ctor, which does
> {code}
> public ScriptEngineManager() {
> ClassLoader ctxtLoader =
> Thread.currentThread().getContextClassLoader();
> init(ctxtLoader);
> }
> {code}
> This means we can only discover script engines that are visible on the TCCL
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)