File tree 2 files changed +6
-4
lines changed
src/test/java/com/fasterxml/jackson/dataformat/xml/deser/creator
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ Project: jackson-dataformat-xml
6
6
7
7
2.15.0 (not yet released)
8
8
9
+ #542 : `XmlMapper` does not find no-argument record constructor for
10
+ deserialization of empty XML
11
+ (reported by @MichalStehlikCz)
9
12
#547 : Parsing empty tags without default no-arguments constructor fails in 2.14
10
13
(reported by @henrik242)
11
14
Original file line number Diff line number Diff line change @@ -30,14 +30,13 @@ static class Outer547Props {
30
30
static class Inner547Props {
31
31
protected String value ;
32
32
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)
36
35
public Inner547Props (@ JsonProperty ("value" ) String v ) {
37
36
value = v ;
38
37
}
39
38
}
40
-
39
+
41
40
// [dataformat-xml#547]
42
41
public void testNested1ArgCtorsDelegating () throws Exception
43
42
{
You can’t perform that action at this time.
0 commit comments