Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10866

Fix Eclipse Java 8 compile errors related to generic parameters.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None

      Description

      Compilation with Java 8 in Eclipse returns errors, which are related to the use of generics. This does not effect command line maven builds and is confirmed to be a bug in Eclipse.The fix is scheduled only for the next release, so all of us using Eclipse now will have that error.
      Unless we fix it in Hadoop code, which makes sense to me as it appears as a warning in any case.

        Attachments

        1. HDFS-10866.01.patch
          9 kB
          Konstantin Shvachko
        2. IntelliJ.png
          31 kB
          Akira Ajisaka
        3. Screen Shot 2016-09-19 at 1.50.22 PM.png
          56 kB
          Zhe Zhang

          Activity

            People

            • Assignee:
              shv Konstantin Shvachko
              Reporter:
              shv Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: