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

Commit

Permalink
Fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 21, 2015
1 parent 5ec8c00 commit ac01d01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions release-notes/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ Sterling Hoeree (shoeree@github)
JsonGenerator.Feature.IGNORE_UNKNOWN = true
(2.5.5)

Peter Royal (osi@github)

- Reported #26: Should indicate type that was requested when complaining about Any not being supported
(2.6.4)
2 changes: 2 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Project: jackson-dataformat-avro

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

2.6.3 (12-Oct-2015)
2.6.2 (15-Sep-2015)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public JsonNullFormatVisitor expectNullFormat(JavaType convertedType) {
@Override
public JsonAnyFormatVisitor expectAnyFormat(JavaType convertedType) {
// could theoretically create union of all possible types but...
return _throwUnsupported("'Any' type not supported yet");
return _throwUnsupported("'Any' type not supported: expectAnyFormat called with type "+convertedType);
}

/*
Expand Down

0 comments on commit ac01d01

Please sign in to comment.