Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -46,6 +46,7 @@ public abstract class AbstractNashornJsInvokeService extends AbstractJsInvokeSer |
46 | 46 | sandbox.setExecutor(monitorExecutorService); |
47 | 47 | sandbox.setMaxCPUTime(getMaxCpuTime()); |
48 | 48 | sandbox.allowNoBraces(false); |
49 | + sandbox.allowLoadFunctions(true); | |
49 | 50 | sandbox.setMaxPreparedStatements(30); |
50 | 51 | } else { |
51 | 52 | NashornScriptEngineFactory factory = new NashornScriptEngineFactory(); | ... | ... |