Report JVM runtime version inconsistency as errors instead of warnings
(cherry picked from commit f8fc7e94ac07d80f332149529b34297b7f0db82e)
This commit is contained in:
+1
-2
@@ -42,8 +42,7 @@ object JvmRuntimeVersionsConsistencyChecker {
|
|||||||
private fun <T> T?.assertNotNull(message: () -> String): T =
|
private fun <T> T?.assertNotNull(message: () -> String): T =
|
||||||
if (this == null) fatal(message()) else this
|
if (this == null) fatal(message()) else this
|
||||||
|
|
||||||
// TODO replace with ERROR after bootstrapping
|
private val VERSION_ISSUE_SEVERITY = CompilerMessageSeverity.ERROR
|
||||||
private val VERSION_ISSUE_SEVERITY = CompilerMessageSeverity.WARNING
|
|
||||||
|
|
||||||
private const val META_INF = "META-INF"
|
private const val META_INF = "META-INF"
|
||||||
private const val MANIFEST_MF = "$META_INF/MANIFEST.MF"
|
private const val MANIFEST_MF = "$META_INF/MANIFEST.MF"
|
||||||
|
|||||||
Reference in New Issue
Block a user