Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1261

Replace usage of deprecated LMAX Disruptor APIs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.9.0
    • Component/s: Core
    • Labels:
      None
    • Environment:

      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

          Issue Links

            Activity

              People

              • Assignee:
                remkop@yahoo.com Remko Popma
                Reporter:
                garydgregory Gary Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: