Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8338

ScriptBuilder relies on TCCL to discover engines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.14.2, 2.15.0
    • camel-script
    • None
    • Unknown

    Description

      ScriptBuilder uses javax.script.ScriptEngineManager default ctor, which does

          public ScriptEngineManager() {
              ClassLoader ctxtLoader = Thread.currentThread().getContextClassLoader();
              init(ctxtLoader);
          }
      

      This means we can only discover script engines that are visible on the TCCL

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: