Commit 5be74dbb authored by Ralph Morelli's avatar Ralph Morelli Committed by Gerrit Review System

Adds synchronization to Compiler.getResource().

Change-Id: Id3d5263f58e32693589a485ac32b3a0e083cd5c0
parent eedf8237
...@@ -917,7 +917,7 @@ public final class Compiler { ...@@ -917,7 +917,7 @@ public final class Compiler {
* *
* @param resourcePath the name of the resource * @param resourcePath the name of the resource
*/ */
static String getResource(String resourcePath) { static synchronized String getResource(String resourcePath) {
try { try {
File file = resources.get(resourcePath); File file = resources.get(resourcePath);
if (file == null) { if (file == null) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment