You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema/PolymorphicTypeAnnotationsTest.java
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,4 +153,46 @@ public void subclasses_of_subclasses_test() throws IOException {
153
153
boatSchema, submarineSchema);
154
154
}
155
155
156
+
// Helium is twice in subtypes hierarchy, once as ElementInterface subtype and second time as subtype
157
+
// of AbstractGas subtype. This situation may result in
158
+
// "Failed to generate `AvroSchema` for ...., problem: (AvroRuntimeException) Duplicate in union:com.fasterxml...PolymorphicTypeAnnotationsTest.Helium"
0 commit comments