[ 
https://issues.apache.org/jira/browse/HADOOP-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489969
 ] 

Tom White commented on HADOOP-1190:
-----------------------------------

There are still two unchecked warnings in core: one in the generated Rcc class, 
one in a JSP. It would be nice to fix them (does anyone know how?) but it 
shouldn't stop us closing this issue. 

compile-rcc-compiler:
    [javac] Compiling 28 source files to 
/home/tom/workspace/hadoop-trunk/build/classes
    [javac] 
/home/tom/workspace/hadoop-trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java:519:
 warning: [unchecked] unchecked call to addElement(E) as a member of the raw 
type java.util.Vector
    [javac]         jj_expentries.addElement(jj_expentry);
    [javac]                                 ^
    [javac] 1 warning

compile-core-classes:
    [javac] Compiling 301 source files to 
/home/tom/workspace/hadoop-trunk/build/classes
    [javac] 
/home/tom/workspace/hadoop-trunk/build/src/org/apache/hadoop/mapred/jobhistory_jsp.java:96:
 warning: [unchecked] unchecked cast
    [javac] found   : java.lang.Object
    [javac] required: 
java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.apache.hadoop.mapred.JobHistory.JobInfo>>
    [javac]               (Map<String, Map<String, 
JobInfo>>)request.getSession().getAttribute("jobHistory"); 
    [javac]                                                                     
                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
     [copy] Copying 1 file to /home/tom/workspace/hadoop-trunk/build/classes


> Fix unchecked warnings
> ----------------------
>
>                 Key: HADOOP-1190
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1190
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.12.2
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: conf-unchecked.patch, dfs-unchecked-2.patch, 
> dfs-unchecked.patch, examples-unchecked.patch, filecache-unchecked.patch, 
> fs-unchecked.patch, io-unchecked-2.patch, io-unchecked.patch, 
> ipc-unchecked.patch, mapred-unchecked.patch, metrics-unchecked.patch, 
> net-unchecked.patch, record-unchecked.patch, util-unchecked.patch
>
>
> Fix all the unchecked warnings that occur when compiling Hadoop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to