[Libreoffice-commits] core.git: jurt/test
Stephan Bergmann
sbergman at redhat.com
Fri Mar 11 10:50:08 UTC 2016
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 <sbergman at 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);
More information about the Libreoffice-commits
mailing list