From 3b68aaa84cfa714a4d1b5ef0c615d924e75d2be0 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Wed, 28 Oct 2015 12:29:26 +0300 Subject: [PATCH] JS: fix rhino 64k issue --- .../test/org/jetbrains/kotlin/js/test/rhino/RhinoUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/rhino/RhinoUtils.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/rhino/RhinoUtils.java index fe73f3f5c04..ebe8d8b21ff 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/rhino/RhinoUtils.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/rhino/RhinoUtils.java @@ -109,6 +109,7 @@ public final class RhinoUtils { catch (IOException e) { throw new RuntimeException(e); } + context.setOptimizationLevel(-1); context.evaluateString(scope, result, inputFile, 1, null); }