Skip to content

0.2.5

Compare
Choose a tag to compare
@FelixGV FelixGV released this 23 Jul 22:53
· 348 commits to master since this release
5469e25
Added specific record tests for primitive arrays. (#81)

* Fixed bug in specific record support for primitive arrays.

Addressed bugs related to missing constructors in the PrimitiveArrayList
and its child classes. Also refactored those classes slightly to reduce
boilerplate.

Altered the meta code:

- List construction does not rely on Collections.emptyList() since that
  is incompatible with the primitive list classes.
- Fixed a case where list instantiation wasn't guarded by getShouldRead(),
  when schema evolution gets rid of a list field. This would previously
  cause a NPE during code gen.
- Refactored the list handling code so that list instance reuse occurs
  even though the particular payload being deserialized has zero elements.

* Code gen for PR #81