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

New commits:
commit feb480d780215555541a264701ea811a5002accc
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Mar 11 11:49:35 2016 +0100

    Synchronize all access to _sync_counter, _passedAync
    
    Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452

diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java 
b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
index 6c4a472..e753c65 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
@@ -79,7 +79,7 @@ class TestWorkAt implements TestIWorkAt {
         _notified = true;
     }
 
-    public boolean passedAsyncTest() {
+    public synchronized boolean passedAsyncTest() {
         assertEquals(MESSAGES, _sync_counter);
         assertTrue(_passedAync);
         return  _passedAync && (_sync_counter == MESSAGES);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to