File tree 2 files changed +6
-1
lines changed
src/main/java/com/fasterxml/jackson/core/sym
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ JSON library.
18
18
19
19
#213: Parser is sometimes wrong when using CANONICALIZE_FIELD_NAMES
20
20
(reported by ichernev@github)
21
+ #216: ArrayIndexOutOfBoundsException: 128 when repeatedly serializing to a byte array
22
+ (reported by geekbeast@github)
21
23
22
24
2.6.1 (09-Aug-2015)
23
25
Original file line number Diff line number Diff line change @@ -877,12 +877,15 @@ private void _verifySharing()
877
877
_hashArea = Arrays .copyOf (_hashArea , _hashArea .length );
878
878
_names = Arrays .copyOf (_names , _names .length );
879
879
_hashShared = false ;
880
+ // 09-Sep-2015, tatu: As per [jackson-core#216], also need to ensure
881
+ // we rehash as needed, as need-rehash flag is not copied from parent
882
+ _verifyNeedForRehash ();
880
883
}
881
884
if (_needRehash ) {
882
885
rehash ();
883
886
}
884
887
}
885
-
888
+
886
889
/**
887
890
* Method called to find the location within hash table to add a new symbol in.
888
891
*/
You can’t perform that action at this time.
0 commit comments