camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8338) ScriptBuilder relies on TCCL to discover engines
Date Thu, 12 Feb 2015 09:24:12 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317867#comment-14317867
] 

Thomas Diesler commented on CAMEL-8338:
---------------------------------------

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)

Mime
View raw message