Update proguard-rules Rhino 1.8.0

This commit is contained in:
Xwite
2025-01-10 13:06:10 +08:00
parent aa41f56a22
commit a5827eedf6
3 changed files with 22 additions and 3 deletions
@@ -338,8 +338,8 @@ object RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
override fun makeContext(): Context {
val cx = RhinoContext(this)
cx.languageVersion = 200
cx.optimizationLevel = -1
cx.languageVersion = Context.VERSION_ES6
cx.setInterpretedMode(true)
cx.setClassShutter(RhinoClassShutter)
cx.wrapFactory = RhinoWrapFactory
cx.instructionObserverThreshold = 10000