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

Remove Java6 specific code from GzipCodec.java

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:

      Description

      GzipCodec has Java 6 specific code and it can be removed.

      GzipCodec.java
            public static final String JVMVersion= System.getProperty("java.version");
            private static final boolean HAS_BROKEN_FINISH =
                (IBM_JAVA && JVMVersion.contains("1.6.0"));
      

      Hadoop 2.7+ dropped Java 6 support.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elek Elek, Marton
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: