This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Java5 Compilation
- From: Per Bothner <per at bothner dot com>
- To: Matthieu Vachon <matthieu dot o dot vachon at gmail dot com>, "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Thu, 28 Nov 2013 21:54:16 -0800
- Subject: Re: Java5 Compilation
- Authentication-results: sourceware.org; auth=none
- References: <CAOTvmonVFjz0uaH8Wmw-3LxQ6d8ZUQd3syBQTVfgAF57q+_PzQ at mail dot gmail dot com>
On 11/27/2013 09:06 AM, Matthieu Vachon wrote:
The current master does not compile on Java 5 due to some @Override
statements on methods that implements an interface.
This is permitted on Java 6 but result in a compilation error on Java
5. I attached a patch that removes them but there may be a better
solution to this.
Thanks - I checked this in.
As an alternative we could use PreProcess conditions, but it doesn't seem
worth it, at least not until we get more consistent about adding @Override.
--
--Per Bothner
per@bothner.com http://per.bothner.com/