From ff0438b38a2e709aac4a72d9a805acf1ca6ddf23 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 16 Mar 2017 15:12:06 +0300 Subject: [PATCH] JS: support -Xskip-metadata-version-check for incompatible ABI libraries Allow the compiler to read such libraries without any errors, at the risk of crashing with an exception. Also fix a minor bug in the diagnostic message in LibrarySourcesConfig and in the corresponding test in KotlinJpsBuildTest Original commit: bf90cb5cc0e298047c65c5e56cfad0d2c9700e46 --- .../test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt index 68e69db9eaf..b78ac922e9a 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt @@ -393,7 +393,7 @@ class KotlinJpsBuildTest : AbstractKotlinJpsBuildTestCase() { val warnings = buildResult.getMessages(BuildMessage.Kind.WARNING) assertEquals("Warning about duplicate module definition: $warnings", 1, warnings.size) - assertEquals("Module \"srcAndTests\" is defined in more, than one file", warnings[0].messageText) + assertEquals("Module \"srcAndTests\" is defined in more than one file", warnings[0].messageText) } fun testKotlinJavaScriptProjectWithTwoSrcModuleDependency() {