[josm-dev] Another Java version conflict
Andre Hinrichs
andre.hinrichs at gmx.de
Tue Jan 20 01:39:02 GMT 2009
On Dienstag, 20. Januar 2009, Ulf Lamping wrote:
> Andre Hinrichs schrieb:
> > 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/Relat
> >ionListDialog.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/Relat
> >ionEditor.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
Sorry, my error report was for version 1297 because I went back in the
versions to find what was wrong but in 1298 there was another one introduced.
So two errors are fixed now and one is left:
$ 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/RelationEditor.java:303:
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] 1 error
BUILD FAILED
/home/hinrichs/projekte/josm/build.xml:70: Compile failed; see the compiler
error output for details.
Total time: 9 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/a202a257/attachment.pgp>
More information about the josm-dev
mailing list