aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java6
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java1
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginStreamHandler.java4
3 files changed, 8 insertions, 3 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java b/plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
index e6968b5..ec0a6e7 100644
--- a/plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
+++ b/plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
@@ -1,4 +1,4 @@
-/* VoidPluginCallRequest -- represent Java-to-JavaScript requests
+/*
Copyright (C) 2008 Red Hat
This file is part of IcedTea.
@@ -131,6 +131,10 @@ class PluginMessageConsumer {
protected class ConsumerThread extends Thread {
+ public ConsumerThread() {
+ super("PluginMessageConsumer.ConsumerThread");
+ }
+
/**
* Scans the readQueue for priority messages and brings them to the front
*/
diff --git a/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java b/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
index 01f9c24..31e9e27 100644
--- a/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
+++ b/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
@@ -50,6 +50,7 @@ class PluginMessageHandlerWorker extends Thread {
PluginMessageConsumer consumer,
PluginStreamHandler streamHandler, int id,
boolean isPriorityWorker) {
+ super("PluginMessageHandlerWorker" + id);
this.id = id;
this.streamHandler = streamHandler;
diff --git a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
index 0bb1f01..06361e8 100644
--- a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
+++ b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
@@ -1,4 +1,4 @@
-/* VoidPluginCallRequest -- represent Java-to-JavaScript requests
+/*
Copyright (C) 2008 Red Hat
This file is part of IcedTea.
@@ -81,7 +81,7 @@ public class PluginStreamHandler {
public void startProcessing() {
- Thread listenerThread = new Thread() {
+ Thread listenerThread = new Thread("PluginStreamHandlerListenerThread") {
public void run() {