diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-09-02 10:42:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-08 20:53:26 +0200 |
commit | 420170c8ddc5b6f16ca44113e28f77653aa3262f (patch) | |
tree | 4fd6569a81c5619e4f00464fdfdc51c9ef1be22b /bean | |
parent | c4da2452149b6ccc07c8d74717f11665767bb210 (diff) |
set names on some Java threads
Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
Diffstat (limited to 'bean')
4 files changed, 6 insertions, 2 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index ebae69da94f5..d7356f8fa344 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -264,6 +264,8 @@ public class LocalOfficeWindow private CallWatchThread( long nTimeout ) { + super("CallWatchThread deprecated"); + this.aWatchedThread = Thread.currentThread(); this.nTimeout = nTimeout; start(); diff --git a/bean/com/sun/star/comp/beans/CallWatchThread.java b/bean/com/sun/star/comp/beans/CallWatchThread.java index 45cecbc367e8..2f99adc27030 100644 --- a/bean/com/sun/star/comp/beans/CallWatchThread.java +++ b/bean/com/sun/star/comp/beans/CallWatchThread.java @@ -36,7 +36,7 @@ public class CallWatchThread extends Thread public CallWatchThread(long nTimeout) { - this(nTimeout, ""); + this(nTimeout, "CallWatchThread"); } public CallWatchThread( long nTimeout, String aTag ) diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index bfcbd94b36f0..e289fb143495 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -731,6 +731,8 @@ public class LocalOfficeConnection private StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out) { + super("StreamProcessor"); + m_in = in; m_print = out; start(); diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 3c2c17e2ac3a..2ffe5ee9c0e7 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -269,7 +269,7 @@ public class OOoBean // avoid concurrent access from multiple threads final OfficeConnection iConn = getOOoConnection(); - Thread aConnectorThread = new Thread() { + Thread aConnectorThread = new Thread("getServiceManager") { @Override public void run() { |