Skip to content

Commit

Permalink
[RhinoJS] Enable FEATURE_ENABLE_JAVA_MAP_ACCESS (#3907)
Browse files Browse the repository at this point in the history
fixed #3906
  • Loading branch information
Xwite committed May 3, 2024
1 parent 38daea8 commit 5126ec0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ object RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
override fun hasFeature(cx: Context, featureIndex: Int): Boolean {
@Suppress("UNUSED_EXPRESSION")
return when (featureIndex) {
//Context.FEATURE_ENABLE_JAVA_MAP_ACCESS -> true
Context.FEATURE_ENABLE_JAVA_MAP_ACCESS -> true
else -> super.hasFeature(cx, featureIndex)
}
}
Expand Down Expand Up @@ -415,4 +415,4 @@ object RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
}
}

}
}

0 comments on commit 5126ec0

Please sign in to comment.