[
https://issues.apache.org/jira/browse/HADOOP-14097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882925#comment-15882925
]
Akira Ajisaka commented on HADOOP-14097:
----------------------------------------
I found there are some unused imports after committing this (sorry for that).
I'll file a separate jira to track this.
> Remove Java6 specific code from GzipCodec.java
> ----------------------------------------------
>
> Key: HADOOP-14097
> URL: https://issues.apache.org/jira/browse/HADOOP-14097
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Akira Ajisaka
> Assignee: Elek, Marton
> Priority: Minor
> Labels: newbie
> Fix For: 2.9.0, 3.0.0-alpha3
>
> Attachments: HDFS-14097.001.patch
>
>
> GzipCodec has Java 6 specific code and it can be removed.
> {code:title=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"));
> {code}
> Hadoop 2.7+ dropped Java 6 support.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]