Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C012118BD for ; Tue, 1 Jul 2014 00:55:24 +0000 (UTC) Received: (qmail 26214 invoked by uid 500); 1 Jul 2014 00:55:24 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 26165 invoked by uid 500); 1 Jul 2014 00:55:24 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 26156 invoked by uid 99); 1 Jul 2014 00:55:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 00:55:24 +0000 Date: Tue, 1 Jul 2014 00:55:24 +0000 (UTC) From: "Matt Sicker (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-683) PluginProcessor outputs warning if running JRE>6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048383#comment-14048383 ] Matt Sicker commented on LOG4J2-683: ------------------------------------ # You can't call methods in an annotation like that. # I don't think you can increase the supported source version without compiling against that version of the API. The reasoning behind this annotation is due to changes in the model classes and such that go with the annotation processing API. > 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) > Should probably be: > @SupportedSourceVersion(SourceVersion.latest()) > This way it gets the latest value from the JRE environment and will also run in JRE6 -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org