Freedom for javascript mods (#5421)

* remove blacklist and class shutter

* no context factory
This commit is contained in:
QmelZ
2021-06-14 02:22:33 +03:00
committed by GitHub
parent a756dec379
commit de9c82d1d2
4 changed files with 2 additions and 28 deletions

View File

@@ -62,13 +62,6 @@ public class AndroidRhinoContext{
initApplicationClassLoader(createClassLoader(AndroidContextFactory.class.getClassLoader()));
}
@Override
protected Context makeContext(){
Context ctx = super.makeContext();
ctx.setClassShutter(Scripts::allowClass);
return ctx;
}
/**
* Create a ClassLoader which is able to deal with bytecode
* @param parent the parent of the create classloader