[josm-dev] Another Java version conflict

Dirk Stöcker openstreetmap at dstoecker.de
Tue Jan 20 07:55:13 GMT 2009


On Tue, 20 Jan 2009, Ulf Lamping wrote:

> P.S: Hmmm, I don't get those problems with my (latest) JDK version. I
> thought that the ant scripts were telling the JAVA compiler to be 1.5
> like - so I should see this?!?

No. This seems to affect the Java code only. Not the parsing, which is a 
bit strange. Also the String.isEmpty() and other Java 1.6 stuff is not 
warned even if you have source set to 1.5 also.

But there IS a change. For openSUSE 11.1 I get installation errors for 
software when the 1.5 target is not used (during RPM building).

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list