Index: trunk/src/org/openstreetmap/josm/actions/RestartAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/RestartAction.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/actions/RestartAction.java	(revision 8736)
@@ -97,5 +97,5 @@
             // execute the command in a shutdown hook, to be sure that all the
             // resources have been disposed before restarting the application
-            Runtime.getRuntime().addShutdownHook(new Thread() {
+            Runtime.getRuntime().addShutdownHook(new Thread("josm-restarter") {
                 @Override
                 public void run() {
Index: trunk/src/org/openstreetmap/josm/gui/MainApplication.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 8736)
@@ -585,5 +585,5 @@
                     Main.pref.put("validated.ipv6", hasv6);
                 }
-            }).start();
+            }, "IPv6-checker").start();
         }
     }
Index: trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 8736)
@@ -545,5 +545,5 @@
             final EastNorth finalNewCenter = newCenter;
 
-            new Thread() {
+            new Thread("smooth-scroller") {
                 @Override
                 public void run() {
Index: trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java	(revision 8736)
@@ -157,5 +157,5 @@
                     doRealRun();
                 }
-            }).start();
+            }, getClass().getName()).start();
         } else {
             doRealRun();
Index: trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java	(revision 8736)
@@ -151,5 +151,5 @@
         monitor.beginTask(tr("Uploading and saving modified layers ..."));
         this.saveAndUploadTask = new SaveAndUploadTask(model, monitor);
-        new Thread(saveAndUploadTask).start();
+        new Thread(saveAndUploadTask, saveAndUploadTask.getClass().getName()).start();
     }
 
Index: trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java	(revision 8735)
+++ trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java	(revision 8736)
@@ -445,5 +445,5 @@
         repaint();
         if (file != null) {
-            new Thread(new LoadImageRunnable(file, orientation)).start();
+            new Thread(new LoadImageRunnable(file, orientation), LoadImageRunnable.class.getName()).start();
         }
     }
