Index: /applications/editors/josm/plugins/remotecontrol/build.xml
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/build.xml	(revision 17857)
+++ /applications/editors/josm/plugins/remotecontrol/build.xml	(revision 17858)
@@ -4,5 +4,4 @@
     <property name="plugin.build.dir"       value="build"/>
     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
-    <property name="ant.build.javac.target" value="1.5"/>
     <target name="init">
         <mkdir dir="${plugin.build.dir}"/>
@@ -10,6 +9,7 @@
     <target name="compile" depends="init">
         <echo message="creating ${plugin.jar}"/>
-        <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
-            <compilerarg value="-Xlint:deprecation"/>
+        <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}"
+		       target="1.5" source="1.5" encoding="UTF-8">
+		<compilerarg value="-Xlint:deprecation"/>
             <compilerarg value="-Xlint:unchecked"/>
         </javac>
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Description" value="Let other applications send commands to JOSM."/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/RemoteControl"/>
-                <attribute name="Plugin-Mainversion" value="2057"/>
+                <attribute name="Plugin-Mainversion" value="2215"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java	(revision 17857)
+++ /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java	(revision 17858)
@@ -255,5 +255,5 @@
 
                     DownloadTask osmTask = new DownloadOsmTask();
-                    osmTask.loadUrl(false, URLDecoder.decode(args.get("url"), "UTF-8"));
+                    osmTask.loadUrl(false, URLDecoder.decode(args.get("url"), "UTF-8"), null);
                 } catch (LoadDeniedException ex) {
                     System.out.println("RemoteControl: import forbidden by preferences");
