[josm-dev] [PATCH] compile errors
Christof Dallermassl
cdaller.hw at gmx.at
Wed Nov 28 07:54:16 GMT 2007
Hi!
>>> Current svn trunk has missing @override tags, which is a compile error using
>>> eclipse 3.3 default settings - trivial patch to fix is below.
>> I actually commited this very patch (albeit from someone else) about a month
>> ago (in r382), it was removed 2 days later (in r391) because it broke the
>> build for Java 1.5.
>
> True. Please don't add patches that break 1.5 compatibility as the
> nightly build occurrs on a 1.5 system. If anyone can tell me how to
> fix this @override stuff so that it works for 1.5 and 1.6, that'd be
> great...
you can't fix them for 1.5 and 1.6 at the same time. 1.5 only allows
@override for subclasses, 1.6 also for interfaces.
Set your environment in eclipse to 1.5 and everything will be fine.
regards
christof
--
---------------------------------------------------------------------------
Christof Dallermassl
cdaller dot hw at gmx dot at
---------------------------------------------------------------------------
More information about the josm-dev
mailing list