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)