DESCRIPTION

Bug 495256 - StatusManager.getStatusHandler() and getManager() are not
thread safe

Initialize MANAGER and statusHandler fields in a thread safe way.

Change-Id: Id0e55384173b01f45884a5cbf7866058a94692ed
Signed-off-by: Jayvion Booth xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2016-06-08 16:22:41.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/9525/

-------------------------------------
author: Zaid Mosley
date: 2016-06-08 16:36:37.000000000

Patch Set 2: Code-Review+1 Verified+1

Code itselfs looks fine to me, but I do not know how to create this race condition and have not seen the error in my logs so far.

-------------------------------------
author: Jayvion Booth
date: 2016-06-08 16:37:58.000000000

Patch Set 2:

> Code itselfs looks fine to me, but I do not know how to create this
 > race condition and have not seen the error in my logs so far.

It is hard to reproduce, because you need at least two different threads reporting errors at startup. We've managed this in our application :-)

-------------------------------------
author: Brenden Conley
date: 2016-06-08 16:41:42.000000000

Patch Set 2: Verified+1

Build Successful 

https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/9525/ : SUCCESS

-------------------------------------
author: Zaid Mosley
date: 2016-06-08 17:08:54.000000000

Patch Set 2:

If you can validate that this solves your issue, feel free to commit.

-------------------------------------
author: Jayvion Booth
date: 2016-06-08 17:56:37.000000000

Patch Set 3: Patch Set 2 was rebased

-------------------------------------
author: Gerrit Code Review
date: 2016-06-08 18:14:45.000000000

Change has been successfully merged into the git repository by Jayvion Booth

-------------------------------------
