Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-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 51A7DD5A9 for ; Mon, 11 Mar 2013 12:19:20 +0000 (UTC) Received: (qmail 64748 invoked by uid 500); 11 Mar 2013 12:19:19 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 64242 invoked by uid 500); 11 Mar 2013 12:19:19 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 61908 invoked by uid 99); 11 Mar 2013 12:19:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 12:19:13 +0000 Date: Mon, 11 Mar 2013 12:19:12 +0000 (UTC) From: "Harald Wellmann (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2300) AnnotationProcessor shows warnings when executed on Java 7 sources 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/OPENJPA-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598768#comment-13598768 ] Harald Wellmann commented on OPENJPA-2300: ------------------------------------------ The annotation processor does generate the meta classes with JDK7 despite logging a warning, the warning is just rather confusing to end users. Now that Java 6 is officially at end of live, OpenJPA should not complain about Java 7 sources, and as Piotr said, I suppose it's enough to simply upgrade the @SupportedSourceVersion. > AnnotationProcessor shows warnings when executed on Java 7 sources > ------------------------------------------------------------------ > > Key: OPENJPA-2300 > URL: https://issues.apache.org/jira/browse/OPENJPA-2300 > Project: OpenJPA > Issue Type: Bug > Components: criteria, Enhance > Affects Versions: 2.2.1 > Environment: OpenJPA 2.2.1 > Reporter: Piotr Kubowicz > Priority: Minor > Labels: java7 > > When running {{openjpac}} Ant task on Java sources set to Java 7 compatibility, the following warning is shown: > [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.openjpa.persistence.meta.AnnotationProcessor6' less than -source '1.7' > This is because AnnotationProcessor6.java contains: > @SupportedSourceVersion(RELEASE_6) > which according to JDK documentation means that this annotation processor is incompatible with Java 7. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira