From 4944383402744c5a0b342c2afc58d9ed9dce1529 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 25 Mar 2023 14:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rhino/src/main/java/com/script/rhino/RhinoTopLevel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhino/src/main/java/com/script/rhino/RhinoTopLevel.kt b/rhino/src/main/java/com/script/rhino/RhinoTopLevel.kt index 378dd326e..8c8f5b5cc 100644 --- a/rhino/src/main/java/com/script/rhino/RhinoTopLevel.kt +++ b/rhino/src/main/java/com/script/rhino/RhinoTopLevel.kt @@ -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)