summaryrefslogtreecommitdiff
path: root/jurt/test/com/sun
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-11 11:49:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-11 11:49:35 +0100
commitfeb480d780215555541a264701ea811a5002accc (patch)
tree478e046547ebe56cb270379172d1d9d67bd0228a /jurt/test/com/sun
parent86ce77b9255ab92cceb6164828c90b0b3e1ee9ed (diff)
Synchronize all access to _sync_counter, _passedAync
Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452
Diffstat (limited to 'jurt/test/com/sun')
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java2
1 files changed, 1 insertions, 1 deletions
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 6c4a472e3e90..e753c651eb6f 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);