Index: trunk/src/org/openstreetmap/josm/actions/RestartAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/RestartAction.java	(revision 17659)
+++ trunk/src/org/openstreetmap/josm/actions/RestartAction.java	(revision 17660)
@@ -142,5 +142,10 @@
 
     private static boolean isExecutableFile(File f) {
-        return f.isFile() && f.canExecute();
+        try {
+            return f.isFile() && f.canExecute();
+        } catch (SecurityException e) {
+            Logging.error(e);
+            return false;
+        }
     }
 
Index: trunk/src/org/openstreetmap/josm/tools/I18n.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/I18n.java	(revision 17659)
+++ trunk/src/org/openstreetmap/josm/tools/I18n.java	(revision 17660)
@@ -397,5 +397,11 @@
             System.err.println("Unable to set locale providers: " + e.getMessage());
         }
-        return System.setProperty("java.locale.providers", "JRE,CLDR");
+        try {
+            return System.setProperty("java.locale.providers", "JRE,CLDR");
+        } catch (SecurityException e) {
+            // Don't call Logging class, it may not be fully initialized yet
+            System.err.println("Unable to set locale providers: " + e.getMessage());
+            return null;
+        }
     }
 
Index: trunk/src/org/openstreetmap/josm/tools/Logging.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Logging.java	(revision 17659)
+++ trunk/src/org/openstreetmap/josm/tools/Logging.java	(revision 17660)
@@ -120,5 +120,9 @@
                 // output stream is set to
                 this.outputStreamMemo = outputStream;
-                super.setOutputStream(outputStream);
+                try {
+                    super.setOutputStream(outputStream);
+                } catch (SecurityException e) {
+                    System.err.println("Unable to set logging output stream: " + e.getMessage());
+                }
             }
         }
