This commit is contained in:
kunfei
2023-03-25 14:02:29 +08:00
parent f9b0fc34fa
commit 4944383402
@@ -44,7 +44,7 @@ class RhinoTopLevel internal constructor(cx: Context?, val scriptEngine: RhinoSc
ImporterTopLevel(cx, System.getSecurityManager() != null) {
init {
LazilyLoadedCtor(this, "JSAdapter", "com.sun.script.javascript.JSAdapter", false)
LazilyLoadedCtor(this, "JSAdapter", "com.script.rhino.JSAdapter", false)
JavaAdapter.init(cx, this, false)
val names = arrayOf("bindings", "scope", "sync")
defineFunctionProperties(names, RhinoTopLevel::class.java, 2)