You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Jsr223ScriptingHandler currently tries to get the scripting engine by doing:
``
ScriptEngine engine = new ScriptEngineManager().getEngineByName(engineName);
This works in most cases except in Google AppEngine local devserver.
However, supplying an explicit `null` classloader to the `ScriptEngineManager` does give the engine:
ScriptEngine engine = new ScriptEngineManager(null).getEngineByName(engineName);
So it would be good to add a fallback mechanism.
Note: Interestingly it only fails in the AppEngine local devserver. On the Google hosted environment it works without the fallback.
The text was updated successfully, but these errors were encountered:
The
Jsr223ScriptingHandler
currently tries to get the scripting engine by doing:``
ScriptEngine engine = new ScriptEngineManager().getEngineByName(engineName);
ScriptEngine engine = new ScriptEngineManager(null).getEngineByName(engineName);
The text was updated successfully, but these errors were encountered: