Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit ac01d01

Browse files
committed
Fix #26
1 parent 5ec8c00 commit ac01d01

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

release-notes/CREDITS

+3
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ Sterling Hoeree (shoeree@github)
1515
JsonGenerator.Feature.IGNORE_UNKNOWN = true
1616
(2.5.5)
1717

18+
Peter Royal (osi@github)
1819

20+
- Reported #26: Should indicate type that was requested when complaining about Any not being supported
21+
(2.6.4)

release-notes/VERSION

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Project: jackson-dataformat-avro
88

99
#23: MapWriteContext.createChildObjectContext() should call _schema.getValueType()
1010
(reported by shoeree@github, cresny@github)
11+
#26: Should indicate type that was requested when complaining about Any not being supported
12+
(reported by Peter R)
1113

1214
2.6.3 (12-Oct-2015)
1315
2.6.2 (15-Sep-2015)

src/main/java/com/fasterxml/jackson/dataformat/avro/schema/VisitorFormatWrapperImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public JsonNullFormatVisitor expectNullFormat(JavaType convertedType) {
148148
@Override
149149
public JsonAnyFormatVisitor expectAnyFormat(JavaType convertedType) {
150150
// could theoretically create union of all possible types but...
151-
return _throwUnsupported("'Any' type not supported yet");
151+
return _throwUnsupported("'Any' type not supported: expectAnyFormat called with type "+convertedType);
152152
}
153153

154154
/*

0 commit comments

Comments
 (0)