You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2015/02/12 10:24:12 UTC

[jira] [Issue Comment Deleted] (CAMEL-8338) ScriptBuilder relies on TCCL to discover engines

     [ https://issues.apache.org/jira/browse/CAMEL-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated CAMEL-8338:
----------------------------------
    Comment: was deleted

(was: PR: https://github.com/apache/camel/pull/390)

> 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)