Skip to content

Commit d652a84

Browse files
committed
minor change: make JsonParseException serializable again
1 parent 1d1aac6 commit d652a84

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

release-notes/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ JSON library.
1818

1919
#209: Make use of `_allowMultipleMatches` in `FilteringParserDelegate`
2020
(contributed by Lokesh N)
21+
- Make `processor` transient in `JsonParseException` to keep it Serializable
2122

2223
2.7.3 (16-Mar-2016)
2324

src/main/java/com/fasterxml/jackson/core/JsonParseException.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
public class JsonParseException extends JsonProcessingException {
1414
private static final long serialVersionUID = 2L; // 2.7
1515

16-
protected JsonParser _processor;
16+
// since 2.7.4
17+
protected transient JsonParser _processor;
1718

1819
@Deprecated // since 2.7
1920
public JsonParseException(String msg, JsonLocation loc) {

0 commit comments

Comments
 (0)