Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6347 closed defect (fixed)

WmsCache.java doesn't compile

Reported by: glebius Owned by: Upliner
Priority: major Milestone:
Component: Core imagery Version:
Keywords: Cc:

Description

I've got clean svn checkout rev 4079. And it doesn't compile:

[javac] /usr/home/glebius/osm/josm/core/src/org/openstreetmap/josm/data/imagery/WmsCache.java:296: cannot find symbol
[javac] symbol : method marshal(org.openstreetmap.josm.data.imagery.types.WmsCacheType,java.io.File)
[javac] location: interface javax.xml.bind.Marshaller
[javac] marshaller.marshal(index, new File(cacheDir, INDEX_FILENAME));
[javac]

True, Marshaller doesn't have a constructor that takes File argument.

http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/1.6/api/javax/xml/bind/Marshaller.html

Patch attached.

Attachments (1)

WmsCache.java.diff (719 bytes) - added by glebius 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by glebius

Attachment: WmsCache.java.diff added

comment:1 Changed 12 years ago by bastiK

Resolution: fixed
Status: newclosed

In [4082/josm]:

applied #6347 (patch by glebius) - WmsCache.java doesn't compile

comment:2 Changed 12 years ago by bastiK

Works for me, are you using oracle compiler?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
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.