[build scripts] correcting .class version checker message

GitOrigin-RevId: d728708ccc8484ab0388efac34bc9d8b7afd992a
This commit is contained in:
Roman Shevchenko
2021-06-12 07:05:53 +02:00
committed by intellij-monorepo-bot
parent d36191969e
commit a808b0ff0a

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.intellij.build.impl
import com.intellij.openapi.util.SystemInfoRt
@@ -83,8 +83,7 @@ final class ClassVersionChecker {
List<Rule> unusedRules = myRules - myUsedRules
if (!unusedRules.isEmpty()) {
buildContext.messages.error("Class version check rules for the following paths don't match any files, probably entries in " +
"ProductProperties::versionCheckerConfig are incorrect:\n" +
"${unusedRules.collect {it.path}.join("\n")}")
"ProductProperties::versionCheckerConfig are out of date:\n${unusedRules.collect { it.path }.join("\n")}")
}
}
}
@@ -178,4 +177,4 @@ final class ClassVersionChecker {
myErrors.add(path + ": .class file version " + major + " exceeds expected " + expected)
}
}
}
}