Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6
-
None
-
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: E:\Java\apache-maven-3.3.9\bin\..
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_79\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) Maven home: E:\Java\apache-maven-3.3.9\bin\.. Java version: 1.7.0_79, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_79\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
We get the following compiler warning due to our usage for deprecated LMAX Disruptor APIs:
[WARN] E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerDisruptor.java:[88,20] [deprecation] Disruptor(EventFactory<T>,int,Executor,ProducerType,WaitStrategy) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerDisruptor.java:[88,20] [deprecation] Disruptor(EventFactory<T>,int,Executor,ProducerType,WaitStrategy) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerDisruptor.java:[93,17] [deprecation] handleExceptionsWith(ExceptionHandler<? super T>) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerConfigDisruptor.java:[165,20] [deprecation] Disruptor(EventFactory<T>,int,Executor,ProducerType,WaitStrategy) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerConfigDisruptor.java:[165,20] [deprecation] Disruptor(EventFactory<T>,int,Executor,ProducerType,WaitStrategy) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor E:\vcs\git\apache\logging\logging-log4j2\log4j-core\src\main\java\org\apache\logging\log4j\core\async\AsyncLoggerConfigDisruptor.java:[169,17] [deprecation] handleExceptionsWith(ExceptionHandler<? super T>) in Disruptor has been deprecated [WARN] where T is a type-variable: T extends Object declared in class Disruptor
Attachments
Attachments
Issue Links
- is duplicated by
-
LOG4J2-1285 AsyncLogger should not use deprecated Disruptor constructors
- Closed