aboutsummaryrefslogtreecommitdiffhomepage
path: root/java/core
diff options
context:
space:
mode:
authorGravatar Time <jujj603@gmail.com>2016-11-11 16:47:41 +0800
committerGravatar GitHub <noreply@github.com>2016-11-11 16:47:41 +0800
commited0834123490d259ede8d52c34629be588dcd3f2 (patch)
treeefb8f36cbd770921224c9ec3cda7770719f25414 /java/core
parentdf8390790aae6025e95687a37eea81a4757966d0 (diff)
#2356 : fix ExceptionInInitializerError on IBM J9
Diffstat (limited to 'java/core')
-rw-r--r--java/core/src/main/java/com/google/protobuf/MapFieldLite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/core/src/main/java/com/google/protobuf/MapFieldLite.java b/java/core/src/main/java/com/google/protobuf/MapFieldLite.java
index 3c0ad89a..16b3fefe 100644
--- a/java/core/src/main/java/com/google/protobuf/MapFieldLite.java
+++ b/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();
}