Sorry for my mistakes.

I created patch for Java 5 fix.
http://josm.openstreetmap.de/attachment/ticket/1988/toolbar_preferences_java5_fix.patch
It should fix that.

Guys who has Java 5, please test it, because I didn't succeed to start JOSM
with JDK 5 on my Ubuntu (it compiles but shows empty screen when started).

Igor Shubovych

2009/1/25 Jiri Klement <jiri.klem...@gmail.com>

> Setting up compiler compliance is not enough. You have to use JDK 1.5
> compiler to make sure you don't use any Java 1.6 api.
>
> Anyway is Java 5 support still necessary? Java 6 seems to be available
> on most computers now.
>
> On Sun, Jan 25, 2009 at 8:55 PM, Igor Shubovych
> <igor.shubov...@gmail.com> wrote:
> > Andre,
> >
> > Which JDK do you have?
> >
> > I set up Java compiler compliance level to Java 5. For all and for
> classes
> > too.
> > So it should be ok.
> >
> > Igor Shubovych
> >
> > 2009/1/25 Andre Hinrichs <andre.hinri...@gmx.de>
> >
> >> Hi List,
> >>
> >> there is a compile error with Java 1.5 and SVN version 1339.
> >> With java 1.6 there are some (other) warnings but the build succeeds.
> >>
> >>
> >> $ 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 277 source files to
> /home/hinrichs/projekte/josm/build
> >>
> >> [javac]
> >>
> /home/hinrichs/projekte/josm/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java:200:
> >> cannot find symbol
> >>    [javac] symbol  : method getDropLocation()
> >>    [javac] location: class javax.swing.JList
> >>    [javac]                     int dropIndex =
> >>
> >>
> selectedList.locationToIndex(selectedList.getDropLocation().getDropPoint());
> >>    [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: 3 seconds
> >>
> >> _______________________________________________
> >> josm-dev mailing list
> >> josm-dev@openstreetmap.org
> >> http://lists.openstreetmap.org/listinfo/josm-dev
> >>
> >>
> > _______________________________________________
> > josm-dev mailing list
> > josm-dev@openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/josm-dev
> >
>
> _______________________________________________
> josm-dev mailing list
> josm-dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to