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);