Modify ↓
Opened 16 years ago
Closed 16 years ago
#3083 closed defect (fixed)
Build fails
| Reported by: | Daeron | Owned by: | Gubaer |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
[1839] broke the build:
Buildfile: build.xml
init:
[mkdir] Created dir: /home/daeron/osm/josm/core/build
[mkdir] Created dir: /home/daeron/osm/josm/core/dist
compile:
[javac] Compiling 449 source files to /home/daeron/osm/josm/core/build
[javac] /home/daeron/osm/josm/core/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/daeron/osm/josm/core/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/daeron/osm/josm/core/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/daeron/osm/josm/core/src/org/openstreetmap/josm/io/OsmServerHistoryReader.java:13: warning: sun.reflect.generics.reflectiveObjects.NotImplementedException is Sun proprietary API and may be removed in a future release
[javac] import sun.reflect.generics.reflectiveObjects.NotImplementedException;
[javac] ^
[javac] /home/daeron/osm/josm/core/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java:647: cannot find symbol
[javac] symbol : method showOptionDialog(java.lang.String,java.awt.Component,java.lang.String,java.lang.String,int,int,<nulltype>,<nulltype>)
[javac] location: class org.openstreetmap.josm.gui.ConditionalOptionPaneUtil
[javac] int ret = ConditionalOptionPaneUtil.showOptionDialog(
[javac] ^
[javac] /home/daeron/osm/josm/core/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java:658: cannot find symbol
[javac] symbol : variable DIALOG_DISABLED_OPTION
[javac] location: class org.openstreetmap.josm.gui.ConditionalOptionPaneUtil
[javac] case ConditionalOptionPaneUtil.DIALOG_DISABLED_OPTION : return true;
[javac] ^
[javac] /home/daeron/osm/josm/core/src/org/openstreetmap/josm/io/OsmServerHistoryReader.java:49: warning: sun.reflect.generics.reflectiveObjects.NotImplementedException is Sun proprietary API and may be removed in a future release
[javac] throw new NotImplementedException();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 5 warnings
BUILD FAILED
/home/daeron/osm/josm/core/build.xml:67: Compile failed; see the compiler error output for details.
Total time: 8 seconds
Attachments (0)
Note:
See TracTickets
for help on using tickets.



This was most likely a missing commit in ConditionalOptionPaneUtil. r1841 should be OK. I can build locally.
Can you check again?