Skip to content

Commit 00a29c8

Browse files
committed
Backport #280 fix
1 parent 38b3f0b commit 00a29c8

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

release-notes/CREDITS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@ Lokesh Kumar N (LokeshN@github)
7979
* Contributed #209: Make use of `_allowMultipleMatches` in `FilteringParserDelegate`
8080
(2.7.4)
8181

82+
83+
Tanguy Leroux (tlrx@github)
84+
* Reported, contributed fix for #280: FilteringGeneratorDelegate.writeUTF8String()
85+
should delegate to writeUTF8String()
86+
(2.7.5)

release-notes/VERSION

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ JSON library.
1414
=== Releases ===
1515
------------------------------------------------------------------------
1616

17+
2.7.5 (not yet released)
18+
19+
#280: FilteringGeneratorDelegate.writeUTF8String() should delegate to writeUTF8String()
20+
(reported by Tanguy L)
21+
1722
2.7.4 (29-Apr-2016)
1823

1924
#209: Make use of `_allowMultipleMatches` in `FilteringParserDelegate`

src/main/java/com/fasterxml/jackson/core/filter/FilteringGeneratorDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public void writeUTF8String(byte[] text, int offset, int length) throws IOExcept
375375
{
376376
// not exact match, but best we can do
377377
if (_checkRawValueWrite()) {
378-
delegate.writeRawUTF8String(text, offset, length);
378+
delegate.writeUTF8String(text, offset, length);
379379
}
380380
}
381381

0 commit comments

Comments
 (0)