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

Replace usage of deprecated LMAX Disruptor APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.9.0
    • Core
    • None

    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

              rpopma Remko Popma
              ggregory Gary D. Gregory
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: