gerrit/gerrit-launcher
David Pursehouse c32be67180 Fix lazy initialization of non-volatile static field in GerritLauncher
The `myArchive` static member of GerritLauncher is lazy initialized in
the `getDistributionArchive` method.

According to FindBugs:

   Because the compiler or processor may reorder instructions, threads
   are not guaranteed to see a completely initialized object, if the
   method can be called by multiple threads.

Fix this by declaring the member as 'volatile'.

Change-Id: I2774cc12c2ee749331f72ff83c3d317b073787f3
2013-08-23 19:06:12 +09:00
..
.settings Remove timestamp from all org.eclipse.core.resources.prefs files. 2012-07-04 14:06:09 +02:00
src/main/java/com/google/gerrit/launcher Fix lazy initialization of non-volatile static field in GerritLauncher 2013-08-23 19:06:12 +09:00
.gitignore Add Intellij IDEA files to ignore list 2012-05-03 13:17:43 -07:00
BUCK Split acceptance tests into one target per test 2013-07-27 11:34:23 -07:00