re-enable nashorn compat, which converts .property to .getProperty() where needed

This commit is contained in:
Jonathan Shook
2023-07-27 12:39:12 -05:00
parent ebfe389563
commit 145b02ebd4

View File

@@ -200,7 +200,7 @@ public class Scenario implements Callable<ExecutionMetricsResult>, NBLabeledElem
.allowEnvironmentAccess(EnvironmentAccess.INHERIT)
.allowPolyglotAccess(PolyglotAccess.ALL)
.option("js.ecmascript-version", "2022")
.option("js.nashorn-compat", "false");
.option("js.nashorn-compat", "true");
final Builder engineBuilder = org.graalvm.polyglot.Engine.newBuilder();
engineBuilder.option("engine.WarnInterpreterOnly", "false");