[
https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792534#action_12792534
]
Kevin Oliver commented on AVRO-259:
-----------------------------------
Patch coming that includes a testcase.
The patch also includes fixing some missing @Overrides and 2 unnecessary
@SuppressWarnings. These can be removed if the committers would prefer they
were not included.
> GenericData.Array should fail fast when constructed with a null Schema
> ----------------------------------------------------------------------
>
> Key: AVRO-259
> URL: https://issues.apache.org/jira/browse/AVRO-259
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Kevin Oliver
> Priority: Trivial
> Fix For: 1.3.0
>
>
> GenericData.Array's constructor takes a Schema but doesn't validate that it
> is not null. The schema is assumed to be not null in other places (equals()
> and hashCode()) which then trigger NPEs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.