Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2571

javac generates a warning in test/o.a.h.io.FileBench

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.16.0
    • test
    • None

    Description

      FileBench generates the following warning in trunk:

      [javac]

      Unknown macro: {...}

      /src/test/org/apache/hadoop/io/FileBench.java:341: warning: [unchecked] unchecked cast
      [javac] found : java.lang.Enum
      [javac] required: T
      [javac] set.add((T)fullmap.get(c).get(s));
      [javac] ^

      This should be suppressed.

      Attachments

        1. 2571-0.patch
          0.5 kB
          Christopher Douglas

        Activity

          People

            cdouglas Christopher Douglas
            cdouglas Christopher Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: