Modify

Opened 4 years ago

Closed 4 years ago

#2059 closed defect (fixed)

[1309] by stoecker breaks JOSM compilation under Java 61298

Reported by: anonymous Owned by: framm
Priority: blocker Component: Core
Version: latest Keywords:
Cc:

Description

This was introduced in [1309], [1308] works.

avar@aoeu:~/src/josm$ svn up -r 1309
U    src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java
U    src/org/openstreetmap/josm/data/projection/LambertEST.java
U    src/org/openstreetmap/josm/data/projection/Lambert.java
U    src/org/openstreetmap/josm/data/projection/Mercator.java
U    src/org/openstreetmap/josm/data/projection/Projection.java
U    src/org/openstreetmap/josm/data/projection/Epsg4326.java
U    src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java

Fetching external item into 'images/styles/standard'
Updated external to revision 13293.

Updated to revision 1309.
avar@aoeu:~/src/josm$ ant clean dist
Buildfile: build.xml

clean:
   [delete] Deleting directory /home/avar/src/josm/build
   [delete] Deleting directory /home/avar/src/josm/dist

init:
    [mkdir] Created dir: /home/avar/src/josm/build
    [mkdir] Created dir: /home/avar/src/josm/dist

compile:
    [javac] Compiling 273 source files to /home/avar/src/josm/build
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/io/MyHttpHandler.java:10: warning: sun.net.www.protocol.http.Handler is Sun proprietary API and may be removed in a future release
    [javac] public class MyHttpHandler extends sun.net.www.protocol.http.Handler  {
    [javac]                                                             ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/io/MyHttpURLConnection.java:8: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac] public class MyHttpURLConnection extends sun.net.www.protocol.http.HttpURLConnection {
    [javac]                                                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/io/MyHttpURLConnection.java:9: warning: sun.net.www.protocol.http.Handler is Sun proprietary API and may be removed in a future release
    [javac]             protected MyHttpURLConnection(URL u, Proxy p, sun.net.www.protocol.http.Handler handler)
    [javac]                                                                                    ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/gui/download/WorldChooser.java:66: <anonymous org.openstreetmap.josm.gui.download.WorldChooser$1> is not abstract and does not override abstract method toCode() in org.openstreetmap.josm.data.projection.Projection
    [javac]         projection = new Projection() {
    [javac]                                       ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 3 warnings

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

Total time: 6 seconds

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by avar

  • Summary changed from [1309] breaks JOSM compilation under Java 6 to [1309] by stoecker breaks JOSM compilation under Java 61298

comment:2 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1312.

Why doesn't this damn "ant" find all dependencies.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.