Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.0.3, 2.0.0-alpha
    • Fix Version/s: 1.1.0, 1-win, 2.0.2-alpha
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I am seeing the following message running IBM Java 7 running branch-1.0 code.
      compile:
      [echo] contrib: gridmix
      [javac] Compiling 31 source files to /home/hadoop/branch-1.0_0427/build/contrib/gridmix/classes
      [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:396: error: type argument ? extends T is not within bounds of type-variable E
      [javac] private <T> String getEnumValues(Enum<? extends T>[] e) {
      [javac] ^
      [javac] where T,E are type-variables:
      [javac] T extends Object declared in method <T>getEnumValues(Enum<? extends T>[])
      [javac] E extends Enum<E> declared in class Enum
      [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:399: error: type argument ? extends T is not within bounds of type-variable E
      [javac] for (Enum<? extends T> v : e) {
      [javac] ^
      [javac] where T,E are type-variables:
      [javac] T extends Object declared in method <T>getEnumValues(Enum<? extends T>[])
      [javac] E extends Enum<E> declared in class Enum
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 errors

      BUILD FAILED
      /home/hadoop/branch-1.0_0427/build.xml:703: The following error occurred while executing this line:
      /home/hadoop/branch-1.0_0427/src/contrib/build.xml:30: The following error occurred while executing this line:
      /home/hadoop/branch-1.0_0427/src/contrib/build-contrib.xml:185: Compile failed; see the compiler error output for details.

      1. hadoop-8329-b1.txt
        0.7 kB
        Eli Collins
      2. hadoop-8329.txt
        0.9 kB
        Eli Collins

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Eli Collins
              Reporter:
              Kumar Ravi
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development