diff --git a/RELEASE-NOTES.html b/RELEASE-NOTES.html
index 53b5acf9f..861f3188a 100644
--- a/RELEASE-NOTES.html
+++ b/RELEASE-NOTES.html
@@ -64,6 +64,7 @@ If this causes major headaches to anyone please contact commons-dev at jakarta.a
AbstractLinkedMap.init() - Now calls createEntry() to create the map entry object [33706]
BeanMap.initialize() - Internal variable now correctly initialised with only write methods that actually exist [15895]
TransformedMap.putAll - Now allows putAll of an empty map [34686]
+AbstractHashedMap deserialization - Fix to prevent doubling of internal data array [34265]
JAVADOC
diff --git a/src/java/org/apache/commons/collections/map/AbstractHashedMap.java b/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
index 2ff910097..37332d18b 100644
--- a/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
+++ b/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
@@ -1204,13 +1204,13 @@ public class AbstractHashedMap extends AbstractMap implements IterableMap {
int capacity = in.readInt();
int size = in.readInt();
init();
+ threshold = calculateThreshold(capacity, loadFactor);
data = new HashEntry[capacity];
for (int i = 0; i < size; i++) {
Object key = in.readObject();
Object value = in.readObject();
put(key, value);
}
- threshold = calculateThreshold(data.length, loadFactor);
}
//-----------------------------------------------------------------------