You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/11/29 01:55:03 UTC

[jira] Updated: (MRM-1433) @Override are on interface methods which is only possible in java 6

     [ http://jira.codehaus.org/browse/MRM-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1433:
------------------------------

    Affects Version/s:     (was: 1.3.1)
                       1.4
        Fix Version/s: 1.4

this was only introduced in a recent commit on trunk

> @Override are on interface methods which is only possible in java 6
> -------------------------------------------------------------------
>
>                 Key: MRM-1433
>                 URL: http://jira.codehaus.org/browse/MRM-1433
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: $ mvn -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.5.0_16
> Java home: C:\devtools\java\jdk1.5.0_16\jre
> Default locale: en_CA, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Jim Sellers
>             Fix For: 1.4
>
>         Attachments: override-patch.patch
>
>
> @Override is on consumers methods that are from an interface.  This won't compile under java 5, only java 6.  Since the project's compiler plugin "source" version is set to java 5, I assume that this is a bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira