CDK-750. Fix AvroEntityMapperTest for JDK8.