avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Wu (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1047) Generated Java classes for specific records contain unchecked casts
Date Tue, 20 Mar 2012 21:55:39 GMT
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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message