Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jubula.app.autrun/src/org/eclipse/jubula/app/autrun/AutRunner.java3
-rw-r--r--org.eclipse.jubula.app.testexec/src/org/eclipse/jubula/app/testexec/batch/ExecutionController.java3
-rw-r--r--org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/AutStarter.java3
-rw-r--r--org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/utils/JBThread.java3
-rw-r--r--org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/Communicator.java5
-rw-r--r--org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/connection/Connection.java3
-rw-r--r--org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/tester/util/SimulatedTooltip.java3
-rw-r--r--org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/DevNull.java2
-rw-r--r--org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ExternalCommandExecutor.java2
9 files changed, 17 insertions, 10 deletions
diff --git a/org.eclipse.jubula.app.autrun/src/org/eclipse/jubula/app/autrun/AutRunner.java b/org.eclipse.jubula.app.autrun/src/org/eclipse/jubula/app/autrun/AutRunner.java
index 58e70d587..1cfbcf475 100644
--- a/org.eclipse.jubula.app.autrun/src/org/eclipse/jubula/app/autrun/AutRunner.java
+++ b/org.eclipse.jubula.app.autrun/src/org/eclipse/jubula/app/autrun/AutRunner.java
@@ -26,6 +26,7 @@ import org.eclipse.jubula.communication.internal.connection.ConnectionState;
import org.eclipse.jubula.communication.internal.connection.RestartAutProtocol;
import org.eclipse.jubula.tools.internal.constants.AutConfigConstants;
import org.eclipse.jubula.tools.internal.registration.AutIdentifier;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -38,7 +39,7 @@ public class AutRunner {
/**
* @author BREDEX GmbH
*/
- private final class AgentConnectionWatcher extends Thread {
+ private final class AgentConnectionWatcher extends KeepAliveThread {
/** the writer */
private final PrintWriter m_writer;
/** the socket */
diff --git a/org.eclipse.jubula.app.testexec/src/org/eclipse/jubula/app/testexec/batch/ExecutionController.java b/org.eclipse.jubula.app.testexec/src/org/eclipse/jubula/app/testexec/batch/ExecutionController.java
index 84619e8eb..bdaeb98ac 100644
--- a/org.eclipse.jubula.app.testexec/src/org/eclipse/jubula/app/testexec/batch/ExecutionController.java
+++ b/org.eclipse.jubula.app.testexec/src/org/eclipse/jubula/app/testexec/batch/ExecutionController.java
@@ -84,6 +84,7 @@ import org.eclipse.jubula.tools.internal.i18n.I18n;
import org.eclipse.jubula.tools.internal.messagehandling.MessageIDs;
import org.eclipse.jubula.tools.internal.registration.AutIdentifier;
import org.eclipse.jubula.tools.internal.utils.FileUtils;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.eclipse.jubula.tools.internal.utils.NetUtil;
import org.eclipse.jubula.tools.internal.utils.TimeUtil;
import org.eclipse.osgi.util.NLS;
@@ -195,7 +196,7 @@ public class ExecutionController implements IAUTServerEventListener,
* @author BREDEX GmbH
* @created Oct 16, 2009
*/
- private final class WatchdogTimer extends Thread {
+ private final class WatchdogTimer extends KeepAliveThread {
/** when should the run be finished? */
private long m_stoptime;
diff --git a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/AutStarter.java b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/AutStarter.java
index 892ed7b71..93cd3300e 100644
--- a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/AutStarter.java
+++ b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/AutStarter.java
@@ -43,6 +43,7 @@ import org.eclipse.jubula.tools.internal.exception.JBVersionException;
import org.eclipse.jubula.tools.internal.i18n.I18n;
import org.eclipse.jubula.tools.internal.registration.AutIdentifier;
import org.eclipse.jubula.tools.internal.utils.DevNull;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -429,7 +430,7 @@ public class AutStarter {
* @author BREDEX GmbH
* @created 03.08.2004
*/
- private static class AUTServerWatcher extends Thread {
+ private static class AUTServerWatcher extends KeepAliveThread {
/** lock for synchronizing on m_autServerVM */
private final Object m_autServerLock = new Object();
diff --git a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/utils/JBThread.java b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/utils/JBThread.java
index 51daee8ff..88558aaed 100644
--- a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/utils/JBThread.java
+++ b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/utils/JBThread.java
@@ -11,12 +11,13 @@
package org.eclipse.jubula.client.ui.rcp.utils;
import org.eclipse.jubula.client.ui.rcp.Plugin;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
/**
* @author BREDEX GmbH
* @created Nov 9, 2005
*/
-public abstract class JBThread extends Thread {
+public abstract class JBThread extends KeepAliveThread {
/**
* Constructor
diff --git a/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/Communicator.java b/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/Communicator.java
index 5a0191d82..14882041b 100644
--- a/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/Communicator.java
+++ b/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/Communicator.java
@@ -43,6 +43,7 @@ import org.eclipse.jubula.tools.internal.exception.CommunicationException;
import org.eclipse.jubula.tools.internal.exception.JBVersionException;
import org.eclipse.jubula.tools.internal.exception.SerialisationException;
import org.eclipse.jubula.tools.internal.messagehandling.MessageIDs;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.slf4j.LoggerFactory;
@@ -888,7 +889,7 @@ public class Communicator {
* @author BREDEX GmbH
* @created 20.07.2004
*/
- private static class AwaitingCommand extends Thread {
+ private static class AwaitingCommand extends KeepAliveThread {
/** flag if timeout has expires */
private boolean m_timeoutExpired;
@@ -993,7 +994,7 @@ public class Communicator {
* @author BREDEX GmbH
* @created 29.07.2004
*/
- private class AcceptingThread extends Thread {
+ private class AcceptingThread extends KeepAliveThread {
/**
* Constructor
diff --git a/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/connection/Connection.java b/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/connection/Connection.java
index 82388b6d9..3fd44f82e 100644
--- a/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/connection/Connection.java
+++ b/org.eclipse.jubula.communication/src/org/eclipse/jubula/communication/internal/connection/Connection.java
@@ -34,6 +34,7 @@ import org.eclipse.jubula.communication.internal.parser.MessageHeaderSerializer;
import org.eclipse.jubula.communication.internal.writer.MessageWriter;
import org.eclipse.jubula.tools.internal.constants.StringConstants;
import org.eclipse.jubula.tools.internal.exception.SerialisationException;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.slf4j.LoggerFactory;
@@ -414,7 +415,7 @@ public class Connection {
* @created 13.07.2004
*
*/
- private class ReaderThread extends Thread {
+ private class ReaderThread extends KeepAliveThread {
/**
* default constructor
diff --git a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/tester/util/SimulatedTooltip.java b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/tester/util/SimulatedTooltip.java
index e7e785f70..999c641de 100644
--- a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/tester/util/SimulatedTooltip.java
+++ b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/tester/util/SimulatedTooltip.java
@@ -14,6 +14,7 @@ import org.eclipse.jubula.rc.common.driver.IEventThreadQueuer;
import org.eclipse.jubula.rc.common.driver.IRunnable;
import org.eclipse.jubula.rc.common.logger.AutServerLogger;
import org.eclipse.jubula.rc.swt.driver.EventThreadQueuerSwtImpl;
+import org.eclipse.jubula.tools.internal.utils.KeepAliveThread;
import org.eclipse.jubula.tools.internal.utils.StringParsing;
import org.eclipse.jubula.tools.internal.utils.TimeUtil;
import org.eclipse.swt.SWT;
@@ -34,7 +35,7 @@ import org.eclipse.swt.widgets.Shell;
* @author BREDEX GmbH
* @created Jul 24, 2007
*/
-public class SimulatedTooltip extends Thread {
+public class SimulatedTooltip extends KeepAliveThread {
/** the logger */
private static AutServerLogger log =
diff --git a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/DevNull.java b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/DevNull.java
index c7485346e..c795ff5ad 100644
--- a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/DevNull.java
+++ b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/DevNull.java
@@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
* @author BREDEX GmbH
* @created 10.08.2004
*/
-public class DevNull extends Thread {
+public class DevNull extends KeepAliveThread {
/** the logger */
private static Logger log = LoggerFactory.getLogger(DevNull.class);
diff --git a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ExternalCommandExecutor.java b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ExternalCommandExecutor.java
index ec59b0c5a..b52a93ef3 100644
--- a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ExternalCommandExecutor.java
+++ b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ExternalCommandExecutor.java
@@ -64,7 +64,7 @@ public class ExternalCommandExecutor {
* The inner thread starts a new process to execute an command. It will
* be instantiate by the MonitorTask, which can also stop this thread.
*/
- class ExecuteTask extends Thread {
+ class ExecuteTask extends KeepAliveThread {
/** The command to start by the Runtime. */
private String m_cmd;
/** the parameters for the command */

Back to the top