From 02858c3d4900fba4d7fa596b221eb426b35ca3e9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Jun 2016 12:57:43 +0200 Subject: fix synchronization of JobQueue Change-Id: I51d58896065a06564d7963aab1145ba9083fdefc --- jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit