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

RetryInvocationHandler uses raw types that should be parameterized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      This causes javac warnings as shown below:

      274c274,275
      < [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java:[147,45] [unchecked] unchecked call to performFailover(T) as a member of the raw type org.apache.hadoop.io.retry.FailoverProxyProvider
      ---
      > [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java:[103,24] [unchecked] unchecked call to getMethod(java.lang.String,java.lang.Class<?>...) as a member of the raw type java.lang.Class
      > [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java:[152,45] [unchecked] unchecked call to performFailover(T) as a member of the raw type org.apache.hadoop.io.retry.FailoverProxyProvider
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sureshms Suresh Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: