GAE is a highly optimized Java runtime. Even if ScriptEngineManager is in the white list of supported classes, there is one more parameter left to make it work.
You need to register the Rhino service, I have the keys to archiving it, but not quite. To register a service, you must create the file "META-INF / services / javax.script.ScriptEngineFactory" with one line with the exact same class name Rhino that implements the ScriptEngineFactory interface. And my problem is that I cannot find this class.
If anyone knows, please edit.
source share