This commit is contained in:
kunfei
2023-03-26 19:48:28 +08:00
parent 74f0c2a97e
commit 37227b81ab
2 changed files with 3 additions and 1 deletions
@@ -269,7 +269,6 @@ class RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
override fun hasFeature(cx: Context, featureIndex: Int): Boolean {
return when (featureIndex) {
Context.FEATURE_ENABLE_JAVA_MAP_ACCESS -> true
Context.FEATURE_ENHANCED_JAVA_ACCESS -> true
else -> super.hasFeature(cx, featureIndex)
}
}