#2356 : fix ExceptionInInitializerError on IBM J9

pull/2357/head
Time 8 years ago committed by GitHub
parent df8390790a
commit ed08341234
  1. 2
      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();
}

Loading…
Cancel
Save