You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Samuel Bratton (JIRA)" <ji...@apache.org> on 2015/09/18 21:10:04 UTC
[jira] [Updated] (ARIES-1409) JPA compilation error when compiling
against 1.6 jre/lib jars.
[ https://issues.apache.org/jira/browse/ARIES-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samuel Bratton updated ARIES-1409:
----------------------------------
Attachment: ARIES-1409.patch
> JPA compilation error when compiling against 1.6 jre/lib jars.
> ---------------------------------------------------------------
>
> Key: ARIES-1409
> URL: https://issues.apache.org/jira/browse/ARIES-1409
> Project: Aries
> Issue Type: Bug
> Components: JPA
> Affects Versions: jpa-2.2.0
> Environment: jre 1.6
> Reporter: Samuel Bratton
> Attachments: ARIES-1409.patch
>
>
> A jpa class, DummyDataSource.java, extends javax.sql.CommonDataSource and annotates one of its methods with "@Overrides". The over-ridden method does not exist in the super-class version in jre1.6 lib, so the compiler issues an error.
> This can be fixed by removing the @Override annotation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)