Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1616 from finos/hotfix/jackson-vulnerability-fix
Browse files Browse the repository at this point in the history
Update Jackson packages to resolve identified vulnerabilities
  • Loading branch information
Simon Laing authored Jan 9, 2020
2 parents e176ad4 + b26e847 commit 137e5a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ COMMONS_CSV_VERSION=1.6
COMMONS_IO_VERSION=2.6
GSON_VERSION=2.8.5
LEADPONY_JUSTIFY_VERSION=0.14.0
JACKSON_VERSION=2.9.9
MEDEIA_VALIDATOR_JACKSON_VERSION=1.0.0
JACKSON_VERSION=2.10.0
MEDEIA_VALIDATOR_JACKSON_VERSION=1.1.1

JUNIT_JUPITER_VERSION=5.5.1
JUNIT_4_VERSION=4.12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void shouldDeserialiseEqualToAndThrowInvalidConstraintValueException() th
deserialiseJsonString(json);
Assert.fail("should have thrown an exception");
} catch (JsonParseException e) {
String expectedMessage = "Unexpected character ('}' (code 125)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: (String)\"{\"field\": \"type\", \"equalTo\": }\"; line: 1, column: 31]";
String expectedMessage = "Unexpected character ('}' (code 125)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (String)\"{\"field\": \"type\", \"equalTo\": }\"; line: 1, column: 31]";
assertThat(e.getMessage(), sameBeanAs(expectedMessage));
}
}
Expand Down

0 comments on commit 137e5a6

Please sign in to comment.