summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-06 12:57:43 +0200
committerNoel Grandin <noel@peralex.com>2016-06-06 13:11:55 +0200
commit02858c3d4900fba4d7fa596b221eb426b35ca3e9 (patch)
tree2c7ee2e8f6f41bcb69888ef20c4fb2b6e8d26cf8 /jurt
parentd5146c0e3ca7459db4fdc3b348cec4012555ea35 (diff)
fix synchronization of JobQueue
Change-Id: I51d58896065a06564d7963aab1145ba9083fdefc
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
index 7b96414ff611..0ab2a297564f 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
@@ -89,7 +89,7 @@ public class JobQueue {
try {
enter(2000, _disposeId);
} catch(Throwable throwable) {
- synchronized (this) {
+ synchronized (JobQueue.this) {
if(!jobList.isEmpty() || _active) { // there was a job in progress, so give a stack
System.err.println(getClass().getName() + " - exception occurred:" + throwable);
throwable.printStackTrace(System.err);