mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
80ec564a6b
commit
08cab46033
@ -39,6 +39,7 @@ object RhinoClassShutter : ClassShutter {
|
|||||||
private val protectedClasses by lazy {
|
private val protectedClasses by lazy {
|
||||||
val protectedClasses = HashMap<Any, Any>()
|
val protectedClasses = HashMap<Any, Any>()
|
||||||
protectedClasses["java.lang.Class"] = true
|
protectedClasses["java.lang.Class"] = true
|
||||||
|
protectedClasses["java.lang.ClassLoader"] = true
|
||||||
protectedClasses["java.lang.Runtime"] = true
|
protectedClasses["java.lang.Runtime"] = true
|
||||||
protectedClasses["java.io.File"] = true
|
protectedClasses["java.io.File"] = true
|
||||||
protectedClasses["java.security.AccessController"] = true
|
protectedClasses["java.security.AccessController"] = true
|
||||||
|
@ -39,6 +39,7 @@ object RhinoClassShutter : ClassShutter {
|
|||||||
private val protectedClasses by lazy {
|
private val protectedClasses by lazy {
|
||||||
val protectedClasses = HashMap<Any, Any>()
|
val protectedClasses = HashMap<Any, Any>()
|
||||||
protectedClasses["java.lang.Class"] = true
|
protectedClasses["java.lang.Class"] = true
|
||||||
|
protectedClasses["java.lang.ClassLoader"] = true
|
||||||
protectedClasses["java.lang.Runtime"] = true
|
protectedClasses["java.lang.Runtime"] = true
|
||||||
protectedClasses["java.io.File"] = true
|
protectedClasses["java.io.File"] = true
|
||||||
protectedClasses["java.security.AccessController"] = true
|
protectedClasses["java.security.AccessController"] = true
|
||||||
|
Loading…
Reference in New Issue
Block a user