[josm-dev] Switch to Java 6?
Dirk Stöcker
openstreetmap at dstoecker.de
Sat Nov 28 19:24:46 GMT 2009
On Sat, 28 Nov 2009, Frederik Ramm wrote:
>> Good plan, but I don't think it will work. When we say Java 6 yes, then
>> the usage of Java 6 features will grow very fast in too many places to
>> ever build a Java 5 version later. Especially as there will be no Java 5
>> check due to build failure anymore.
>
> Too bad. If this were C, we could simply do "#ifdef JAVA6" in the code
> and thus make it compile under 1.5 and under 6, allowing tests for both.
Yes. "#ifdef DEBUG" and other conditionals are one of the features I most
miss in Java.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list