Merge "Fix lazy initialization of non-volatile static field in GerritLauncher"

This commit is contained in:
Shawn Pearce
2013-08-23 15:26:47 +00:00
committed by Gerrit Code Review

View File

@@ -299,7 +299,7 @@ public final class GerritLauncher {
return name; return name;
} }
private static File myArchive; private volatile static File myArchive;
/** /**
* Locate the JAR/WAR file we were launched from. * Locate the JAR/WAR file we were launched from.