mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[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:
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;
|
||||
Reference in New Issue
Block a user