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

AnnotationProcessor shows warnings when executed on Java 7 sources

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 3.0.0
    • Component/s: criteria, Enhance
    • Labels:
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: