优化
This commit is contained in:
@@ -351,13 +351,7 @@ class RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
|
|||||||
}
|
}
|
||||||
return if (accCtxt != null) AccessController.doPrivileged(
|
return if (accCtxt != null) AccessController.doPrivileged(
|
||||||
PrivilegedAction {
|
PrivilegedAction {
|
||||||
superDoTopCall(
|
superDoTopCall(callable, cx, scope, thisObj, args)
|
||||||
callable,
|
|
||||||
cx,
|
|
||||||
scope,
|
|
||||||
thisObj,
|
|
||||||
args
|
|
||||||
)
|
|
||||||
} as PrivilegedAction<*>, accCtxt) else superDoTopCall(
|
} as PrivilegedAction<*>, accCtxt) else superDoTopCall(
|
||||||
callable,
|
callable,
|
||||||
cx,
|
cx,
|
||||||
|
|||||||
Reference in New Issue
Block a user