Skip to content

Commit 79bdd73

Browse files
committed
Fix a regression (wrt revert of a fix in jackson-core for 2.16)
1 parent b83666b commit 79bdd73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/java/com/fasterxml/jackson/databind/exc/BasicExceptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public void testLocationAddition() throws Exception
137137
JsonLocation loc = e.getLocation();
138138
// String expectedLocation = "line: 4, column: 4";
139139
assertEquals(4, loc.getLineNr());
140-
assertEquals(3, loc.getColumnNr());
140+
assertEquals(4, loc.getColumnNr());
141141
}
142142
}
143143
}

src/test/java/com/fasterxml/jackson/databind/exc/ExceptionWithAnySetter4316Test.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ static class Problem extends Exception {
2222

2323
@JsonIgnoreProperties({ "cause", "stackTrace", "response", "message", "localizedMessage", "suppressed" })
2424
static class ProblemWithIgnorals extends Exception {
25+
private static final long serialVersionUID = 1L;
2526
@JsonAnySetter
2627
@JsonAnyGetter
2728
Map<String, Object> additionalProperties = new HashMap<>();

0 commit comments

Comments
 (0)