aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp')
-rw-r--r--netx/net/sourceforge/jnlp/NetxPanel.java2
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/NetxPanel.java b/netx/net/sourceforge/jnlp/NetxPanel.java
index dfa7262..8a51566 100644
--- a/netx/net/sourceforge/jnlp/NetxPanel.java
+++ b/netx/net/sourceforge/jnlp/NetxPanel.java
@@ -181,7 +181,7 @@ public class NetxPanel extends AppletViewerPanel implements SplashController {
}
}
- handler = new Thread(getThreadGroup(), this);
+ handler = new Thread(getThreadGroup(), this, "NetxPanelThread@" + this.documentURL);
handler.start();
}
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
index fedf918..add5035 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
@@ -738,7 +738,7 @@ public class JNLPRuntime {
e.printStackTrace();
}
- Runtime.getRuntime().addShutdownHook(new Thread() {
+ Runtime.getRuntime().addShutdownHook(new Thread("JNLPRuntimeShutdownHookThread") {
public void run() {
markNetxStopped();
CacheUtil.cleanCache();