浏览代码

Merge pull request #2357 from D3Hunter/master

#2356 : fix ExceptionInInitializerError on IBM J9
Feng Xiao 9 年之前
父节点
当前提交
df56736db9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      java/core/src/main/java/com/google/protobuf/MapFieldLite.java

+ 1 - 1
java/core/src/main/java/com/google/protobuf/MapFieldLite.java

@@ -58,7 +58,7 @@ public final class MapFieldLite<K, V> extends LinkedHashMap<K, V> {
   }
 
   @SuppressWarnings({"rawtypes", "unchecked"})
-  private static final MapFieldLite EMPTY_MAP_FIELD = new MapFieldLite(Collections.emptyMap());
+  private static final MapFieldLite EMPTY_MAP_FIELD = new MapFieldLite();
   static {
     EMPTY_MAP_FIELD.makeImmutable();
   }