You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2016/09/15 19:51:20 UTC
[jira] [Commented] (AVRO-1047) Generated Java classes for specific
records contain unchecked casts
[ https://issues.apache.org/jira/browse/AVRO-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494343#comment-15494343 ]
Doug Cutting commented on AVRO-1047:
------------------------------------
I believe this is fixed by AVRO-1913. If so, we can close this.
> Generated Java classes for specific records contain unchecked casts
> -------------------------------------------------------------------
>
> Key: AVRO-1047
> URL: https://issues.apache.org/jira/browse/AVRO-1047
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.6.3
> Reporter: Garrett Wu
> Attachments: AVRO-1047.patch, suppress-warnings.tar.gz
>
>
> The generated Java classes for specific records cause compiler warnings using Oracle/Sun Java 1.6, since it doesn't support @SuppressWarnings("all"). Instead could we change it to @SuppressWarnings("unchecked")? Only "unchecked" and "deprecation" are mentioned Java Language Specification -- the rest are specific to compiler vendors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)