diff options
Diffstat (limited to 'dx/src/com/android/dx/dex/file/ProtoIdsSection.java')
-rw-r--r-- | dx/src/com/android/dx/dex/file/ProtoIdsSection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dx/src/com/android/dx/dex/file/ProtoIdsSection.java b/dx/src/com/android/dx/dex/file/ProtoIdsSection.java index 4b1303b15..b7df10cdd 100644 --- a/dx/src/com/android/dx/dex/file/ProtoIdsSection.java +++ b/dx/src/com/android/dx/dex/file/ProtoIdsSection.java @@ -86,7 +86,7 @@ public final class ProtoIdsSection extends UniformItemSection { * @param prototype {@code non-null;} the prototype to intern * @return {@code non-null;} the interned reference */ - public ProtoIdItem intern(Prototype prototype) { + public synchronized ProtoIdItem intern(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } |