[ 
https://issues.apache.org/jira/browse/OPENJPA-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059473#comment-14059473
 ] 

Sandeep J commented on OPENJPA-2300:
------------------------------------

Hi Pinaki,

  Is there any timeline when we can expect the Java 7 compatible version (free 
of warnings mentioned in this jira) ?

  We are compiling our code with Java 7 and also using -Werror flag, which is 
causing build failures. The warning that we get is "warning: Supported source 
version 'RELEASE_6' from annotation processor 
'org.apache.openjpa.persistence.meta.AnnotationProcessor6' less than -source 
'1.7"

Thanks

> 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
>            Assignee: Pinaki Poddar
>            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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to