[ 
https://issues.apache.org/jira/browse/LOG4J2-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jurriaan Mous updated LOG4J2-683:
---------------------------------

    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)

  was:
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


> PluginProcessor outputs warning if running JRE>6
> ------------------------------------------------
>
>                 Key: LOG4J2-683
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-683
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.0-rc2
>         Environment: JRE 8
>            Reporter: Jurriaan Mous
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to