From feb480d780215555541a264701ea811a5002accc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 11 Mar 2016 11:49:35 +0100 Subject: Synchronize all access to _sync_counter, _passedAync Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452 --- jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jurt/test') 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); -- cgit