Skip to content

Commit 1fb4adf

Browse files
committed
Backport #191 fix in 2.4(.6).
1 parent fca10e3 commit 1fb4adf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

release-notes/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ json-specificity (naming due to historical reasons).
1717

1818
#184: WRITE_NUMBERS_AS_STRINGS disables WRITE_BIGDECIMAL_AS_PLAIN
1919
(reported by Derek C)
20+
#191: Longest collision chain in symbol table now exceeds maximum
2021

2122
2.4.5 (13-Jan-2015)
2223

src/main/java/com/fasterxml/jackson/core/json/ReaderBasedJsonParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ private String _parseName2(int startPtr, int hash, int endChar) throws IOExcepti
13021302
}
13031303
}
13041304
}
1305-
hash = (hash * CharsToNameCanonicalizer.HASH_MULT) + i;
1305+
hash = (hash * CharsToNameCanonicalizer.HASH_MULT) + c;
13061306
// Ok, let's add char to output:
13071307
outBuf[outPtr++] = c;
13081308

0 commit comments

Comments
 (0)