From 09a347b2d425f18f9ea06304438994bfa4f528e7 Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Thu, 19 Apr 2018 20:30:52 +0300 Subject: [PATCH] Disable assertion in RecompilableScriptFunctionData for js tests which fails due to a bug in nashorn #KT-23637 Fixed --- js/js.tests/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/js/js.tests/build.gradle.kts b/js/js.tests/build.gradle.kts index 3a3e84bbfe3..57559d5bc34 100644 --- a/js/js.tests/build.gradle.kts +++ b/js/js.tests/build.gradle.kts @@ -60,6 +60,7 @@ val testDistProjects = listOf( projectTest { dependsOn(*testDistProjects.map { "$it:dist" }.toTypedArray()) + jvmArgs("-da:jdk.nashorn.internal.runtime.RecompilableScriptFunctionData") // Disable assertion which fails due to a bug in nashorn (KT-23637) workingDir = rootDir doFirst { systemProperty("kotlin.ant.classpath", antLauncherJar.asPath)