[Libreoffice-commits] core.git: jurt/com

Noel Grandin noel at peralex.com
Mon Jun 6 11:12:36 UTC 2016


 jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02858c3d4900fba4d7fa596b221eb426b35ca3e9
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Jun 6 12:57:43 2016 +0200

    fix synchronization of JobQueue
    
    Change-Id: I51d58896065a06564d7963aab1145ba9083fdefc

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 7b96414..0ab2a29 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);


More information about the Libreoffice-commits mailing list