[josm-dev] Another Java version conflict

Andre Hinrichs andre.hinrichs at gmx.de
Mon Jan 19 23:44:39 GMT 2009


Hi List,

there is again an error in the sources which only occurs in Java 5 but is fine 
in Java 6. Since the compile server runs on Java 5 it does not build a new 
JAR for downloading.

Here is the error message:

$ ant dist
Buildfile: build.xml

init:
    [mkdir] Created dir: /home/hinrichs/projekte/josm/build
    [mkdir] Created dir: /home/hinrichs/projekte/josm/dist

compile:
    [javac] Compiling 272 source files to /home/hinrichs/projekte/josm/build
    
[javac] /home/hinrichs/projekte/josm/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java:74: 
method does not override a method from its superclass
    [javac]             @Override public void valueChanged(ListSelectionEvent 
e) {
    [javac]              ^
    
[javac] /home/hinrichs/projekte/josm/src/org/openstreetmap/josm/gui/dialogs/RelationEditor.java:297: 
method does not override a method from its superclass
    [javac]             @Override public void valueChanged(ListSelectionEvent 
e) {
    [javac]              ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
/home/hinrichs/projekte/josm/build.xml:70: Compile failed; see the compiler 
error output for details.

Total time: 8 seconds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090120/00d27d2c/attachment.pgp>


More information about the josm-dev mailing list