git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1189410 13f79535-47bb-0310-9956-ffa450edef68
@@ -1058,6 +1058,9 @@ Release 0.23.0 - Unreleased
HDFS-2467. HftpFileSystem uses incorrect compare for finding delegation
tokens. (omalley)
+ HDFS-2331. Fix WebHdfsFileSystem compilation problems for a bug in JDK
+ version < 1.6.0_26. (Abhijit Suresh Shingate via szetszwo)
+
BREAKDOWN OF HDFS-1073 SUBTASKS
HDFS-1521. Persist transaction ID on disk between NN restarts.
@@ -206,7 +206,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();
}