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)