[api] mark log4j 1.2 as deprecated and scheduled for removal (IDEA-265069)

With this annotation direct usages of log4j classes from external plugins will be highlighted as errors, it should encourage plugin developers to use IntelliJ Logging API or migrate to modern logging frameworks.

GitOrigin-RevId: 8bfb5be950e7abfb9fbd1f6c6d2e77ba89fa0215
This commit is contained in:
Nikolay Chashnikov
2021-03-24 14:57:56 +00:00
committed by intellij-monorepo-bot
parent 65dee450b8
commit d7359c00fb
@@ -0,0 +1,11 @@
// 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.
/**
* Log4j 1.2 contains security vulnerability (<a href="https://nvd.nist.gov/vuln/detail/CVE-2019-17571">CVE-2019-17571</a>) so
* it shouldn't be used. For code in IntelliJ plugins it's recommended to use {@link com.intellij.openapi.diagnostic.Logger IntelliJ Logging API}
* directly.
*/
@Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2021.3")
package org.apache.log4j;
import org.jetbrains.annotations.ApiStatus;