Removing warning for forbidden apis not supporting java 14 (#55359)
While the current version of forbidden apis still does not support java 14, the warning message has become very noisy as we now require java 14 for the elasticsearch build. This commit replaces the warn log message with a comment in the code.
This commit is contained in:
parent
727ff2fe82
commit
a49ce45f1b
|
@ -170,10 +170,7 @@ class PrecommitTasks {
|
|||
|
||||
targetCompatibility = BuildParams.runtimeJavaVersion.majorVersion
|
||||
if (BuildParams.runtimeJavaVersion > JavaVersion.VERSION_13) {
|
||||
project.logger.warn(
|
||||
"Forbidden APIs does not support Java versions past 13. Will use the signatures from 13 for {}.",
|
||||
BuildParams.runtimeJavaVersion
|
||||
)
|
||||
// forbidden apis does not yet support java 14 (it will in version 3.0), so we must use java 13 target
|
||||
targetCompatibility = JavaVersion.VERSION_13.majorVersion
|
||||
}
|
||||
bundledSignatures = [
|
||||
|
|
Loading…
Reference in New Issue