Log4j 2
  1. Log4j 2
  2. LOG4J2-683

PluginProcessor outputs warning if running JRE>6

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      JRE 8

      Description

      Output:

      warning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor' less than -source '1.8'

      Code in PluginProcessor:
      @SupportedSourceVersion(SourceVersion.RELEASE_6)

        Activity

        Jurriaan Mous created issue -
        Jurriaan Mous made changes -
        Field Original Value New Value
        Summary PluginProcessor outputs warning if running newer JDK PluginProcessor outputs warning if running JRE>6
        Jurriaan Mous made changes -
        Description Output:

        warning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor' less than -source '1.8'

        Code in PluginProcessor:
        @SupportedSourceVersion(SourceVersion.RELEASE_6)

        Should probably be:
        @SupportedSourceVersion(SourceVersion.latest())

        This way it gets the latest value from the JRE environment and will also run in JRE6
        Output:

        warning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor' less than -source '1.8'

        Code in PluginProcessor:
        @SupportedSourceVersion(SourceVersion.RELEASE_6)
        Matt Sicker made changes -
        Assignee Matt Sicker [ jvz ]
        Matt Sicker made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Matt Sicker made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.0 [ 12324757 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Matt Sicker
            Reporter:
            Jurriaan Mous
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development