git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1170997 13f79535-47bb-0310-9956-ffa450edef68
@@ -154,6 +154,9 @@ Release 0.20.205.0 - unreleased
HDFS-2328. HFTP throws NPE if security is enabled locally, but not
remotely. (omalley)
+ HDFS-2331. Fix WebHdfsFileSystem compilation problems for a bug in JDK
+ version < 1.6.0_26. (Abhijit Suresh Shingate via szetszwo)
+
IMPROVEMENTS
MAPREDUCE-2187. Reporter sends progress during sort/merge. (Anupam Seth via
@@ -201,7 +201,7 @@ public class WebHdfsFileSystem extends HftpFileSystem {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
- return jsonParse(conn.getInputStream());
+ return WebHdfsFileSystem.<T>jsonParse(conn.getInputStream());
} finally {
conn.disconnect();
}