Avro
  1. Avro
  2. AVRO-1047

Generated Java classes for specific records contain unchecked casts

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.3
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      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.

      1. suppress-warnings.tar.gz
        0.5 kB
        Garrett Wu
      2. AVRO-1047.patch
        3 kB
        Garrett Wu

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Garrett Wu
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development