Index: applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java
===================================================================
--- applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 31665)
+++ applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 31869)
@@ -72,4 +72,5 @@
 import org.openstreetmap.josm.plugins.Plugin;
 import org.openstreetmap.josm.plugins.PluginInformation;
+import org.openstreetmap.josm.tools.HttpClient;
 import org.openstreetmap.josm.tools.SubclassFilteredCollection;
 import org.openstreetmap.josm.tools.Utils;
@@ -278,5 +279,5 @@
 		String url = Main.pref.get("commandline.default.commands.url",
 				"https://github.com/Foxhind/JOSM-CommandLine-commands/archive/master.zip");
-		try (ZipInputStream zis = new ZipInputStream(Utils.openURL(new URL(url)), StandardCharsets.UTF_8)) {
+		try (ZipInputStream zis = new ZipInputStream(HttpClient.create(new URL(url)).connect().getContent(), StandardCharsets.UTF_8)) {
 			File dir = new File(getPluginDir());
 			if (!dir.exists()) {
