Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2300

AnnotationProcessor shows warnings when executed on Java 7 sources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 3.0.0
    • criteria, Enhance
    • OpenJPA 2.2.1

    Description

      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.

      Attachments

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            pkubowicz Piotr Kubowicz
            Votes:
            8 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: