Skip to content

Commit

Permalink
Update release notes wrt #542
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 22, 2023
1 parent 60c2166 commit 17f8e22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Project: jackson-dataformat-xml

2.15.0 (not yet released)

#542: `XmlMapper` does not find no-argument record constructor for
deserialization of empty XML
(reported by @MichalStehlikCz)
#547: Parsing empty tags without default no-arguments constructor fails in 2.14
(reported by @henrik242)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ static class Outer547Props {
static class Inner547Props {
protected String value;

// 20-Nov-2022, tatu: [dataformat-xml#547] Should not need "default"
// Creator
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
// 20-Nov-2022, tatu: [dataformat-xml#547] Shouldn't need annotation
// @JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
public Inner547Props(@JsonProperty("value") String v) {
value = v;
}
}

// [dataformat-xml#547]
public void testNested1ArgCtorsDelegating() throws Exception
{
Expand Down

0 comments on commit 17f8e22

Please sign in to comment.