Merge "Fix lazy initialization of non-volatile static field in GerritLauncher"
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user