You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/01/21 20:31:40 UTC

[jira] [Created] (LOG4J2-1261) Remove usage of deprecated LMAX Disruptor APIs

Gary Gregory created LOG4J2-1261:
------------------------------------

             Summary: Remove usage of deprecated LMAX Disruptor APIs
                 Key: LOG4J2-1261
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1261
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
         Environment: 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"
            Reporter: Gary Gregory


We get the following compiler warning due to our usage for deprecated LMAX Disruptor APIs:

{noformat}
[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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org