Modify

Opened 9 years ago

Closed 9 years ago

#1592 closed defect (fixed)

r1000 breaks JOSM, lots of undefined symbol errors during compilation

Reported by: avarab@… Owned by: framm
Priority: blocker Milestone:
Component: unspecified Version:
Keywords: Cc:

Description

This was not an issue in r999:

avar@o ~/src/josm $ ant dist
Buildfile: build.xml

init:

compile:
    [javac] Compiling 5 source files to /home/avar/src/josm/build
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java:70: cannot find symbol
    [javac] symbol  : class UserCancelException
    [javac] location: class org.openstreetmap.josm.corrector.ReverseWayTagCorrector
    [javac]     public Collection<Command> execute(Way way) throws UserCancelException {
    [javac]                                                        ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:33: cannot find symbol
    [javac] symbol  : class UserCancelException
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]         throws UserCancelException;
    [javac]                ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrection.java:4: cannot find symbol
    [javac] symbol: class Correction
    [javac] public class TagCorrection implements Correction {
    [javac]                                       ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:43: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]             Map<OsmPrimitive, List<RoleCorrection>> roleCorrectionMap,
    [javac]                                    ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:44: cannot find symbol
    [javac] symbol  : class UserCancelException
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]             String description) throws UserCancelException {
    [javac]                                        ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTable.java:7: cannot find symbol
    [javac] symbol: class CorrectionTable
    [javac]         CorrectionTable<TagCorrectionTableModel> {
    [javac]         ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:8: cannot find symbol
    [javac] symbol: class CorrectionTableModel
    [javac] public class TagCorrectionTableModel extends CorrectionTableModel<TagCorrection> {
    [javac]                                              ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:55: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                     for (List<RoleCorrection> roleCorrectionList : roleCorrectionMap
    [javac]                               ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:65: type parameter org.openstreetmap.josm.corrector.TagCorrectionTable is not within its bound
    [javac]                     Map<OsmPrimitive, TagCorrectionTable> tagTableMap = 
    [javac]                                       ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:66: type parameter org.openstreetmap.josm.corrector.TagCorrectionTable is not within its bound
    [javac]                         new HashMap<OsmPrimitive, TagCorrectionTable>();
    [javac]                                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:67: cannot find symbol
    [javac] symbol  : class RoleCorrectionTable
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                     Map<OsmPrimitive, RoleCorrectionTable> roleTableMap = 
    [javac]                                       ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:68: cannot find symbol
    [javac] symbol  : class RoleCorrectionTable
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                         new HashMap<OsmPrimitive, RoleCorrectionTable>();
    [javac]                                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:101: cannot find symbol
    [javac] symbol  : constructor JScrollPane(org.openstreetmap.josm.corrector.TagCorrectionTable)
    [javac] location: class javax.swing.JScrollPane
    [javac]                             final JScrollPane scrollPane = new JScrollPane(table);
    [javac]                                                            ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:108: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                             final List<RoleCorrection> roleCorrections = roleCorrectionMap
    [javac]                                        ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:123: cannot find symbol
    [javac] symbol  : class RoleCorrectionTable
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                             final RoleCorrectionTable table = new RoleCorrectionTable(
    [javac]                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:123: cannot find symbol
    [javac] symbol  : class RoleCorrectionTable
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                             final RoleCorrectionTable table = new RoleCorrectionTable(
    [javac]                                                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:142: cannot find symbol
    [javac] symbol  : method getCorrectionTableModel()
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrectionTable
    [javac]                                                     .getCorrectionTableModel().getApply(i)) {
    [javac]                                                     ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:154: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                                     List<RoleCorrection> roleCorrections = roleCorrectionMap
    [javac]                                          ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:159: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                                                     RoleCorrection roleCorrection = roleCorrections
    [javac]                                                     ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrector.java:172: cannot find symbol
    [javac] symbol  : class UserCancelException
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrector<P>
    [javac]                         throw new UserCancelException();
    [javac]                                   ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java:109: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.ReverseWayTagCorrector
    [javac]             Map<OsmPrimitive, List<RoleCorrection>> roleCorrectionMap = 
    [javac]                                    ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java:110: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.ReverseWayTagCorrector
    [javac]                     new HashMap<OsmPrimitive, List<RoleCorrection>>();
    [javac]                                                    ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java:111: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.ReverseWayTagCorrector
    [javac]             roleCorrectionMap.put(way, new ArrayList<RoleCorrection>());
    [javac]                                                      ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java:131: cannot find symbol
    [javac] symbol  : class RoleCorrection
    [javac] location: class org.openstreetmap.josm.corrector.ReverseWayTagCorrector
    [javac]                                             new RoleCorrection(relation, member, newRole));
    [javac]                                                 ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:14: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:19: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:35: cannot find symbol
    [javac] symbol  : method getCorrections()
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrectionTableModel
    [javac]             TagCorrection tagCorrection = getCorrections().get(rowIndex);
    [javac]                                           ^
    [javac] /home/avar/src/josm/src/org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:51: cannot find symbol
    [javac] symbol  : method getCorrections()
    [javac] location: class org.openstreetmap.josm.corrector.TagCorrectionTableModel
    [javac]             TagCorrection tagCorrection = getCorrections().get(row);
    [javac]                                           ^
    [javac] 28 errors

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

Total time: 1 second

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by anonymous

Resolution: fixed
Status: newclosed

Incomplete checkin fixed in r1001.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.