Some bugs can cause this code path to be followed, and we should be intelligent about the error in Avro.
Java server serializing error union schema branch number incorrectly for single-branch unions
Hopefully we never hit this code path...
Committed to trunk in revision 951231.
Merged into branch-1.3 with revision 951232.