Skip to content

Commit 17f8e22

Browse files
committed
Update release notes wrt #542
1 parent 60c2166 commit 17f8e22

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

release-notes/VERSION-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Project: jackson-dataformat-xml
66

77
2.15.0 (not yet released)
88

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

src/test/java/com/fasterxml/jackson/dataformat/xml/deser/creator/NestedSingleArgCtors547Test.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@ static class Outer547Props {
3030
static class Inner547Props {
3131
protected String value;
3232

33-
// 20-Nov-2022, tatu: [dataformat-xml#547] Should not need "default"
34-
// Creator
35-
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
33+
// 20-Nov-2022, tatu: [dataformat-xml#547] Shouldn't need annotation
34+
// @JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
3635
public Inner547Props(@JsonProperty("value") String v) {
3736
value = v;
3837
}
3938
}
40-
39+
4140
// [dataformat-xml#547]
4241
public void testNested1ArgCtorsDelegating() throws Exception
4342
{

0 commit comments

Comments
 (0)