camel-issues mailing list archives

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

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

Claus Ibsen resolved CAMEL-8338.
--------------------------------
    Resolution: Fixed

Thanks for the patch.

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.14.2, 2.15.0
>
>
> 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