hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tahir Hashmi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1294) Fix unchecked warnings in main Hadoop code under Java 6.
Date Thu, 26 Apr 2007 09:44:15 GMT

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

Tahir Hashmi commented on HADOOP-1294:
--------------------------------------

I get the following warning after applying the patch:

    [javac] /home/tahir/Desktop/Hadoop/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java:439:
warning: [unchecked] unchecked call to getConstructor(java.lang.Class<?>...) as a member
of the raw type java.lang.Class
    [javac]         randomDataGeneratorCtor = clazz.getConstructor(Long.TYPE);
    [javac]                                                       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.


> Fix unchecked warnings in main Hadoop code under Java 6.
> --------------------------------------------------------
>
>                 Key: HADOOP-1294
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1294
>             Project: Hadoop
>          Issue Type: Bug
>          Components: test
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: java6_unchecked.patch
>
>
> Reported by Tahir Hashmi:
> I get the following warning while building:
>     [javac]
> /home/tahir/Desktop/Trunk/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java:439:
> warning: [unchecked] unchecked call to
> getConstructor(java.lang.Class<?>...) as a member of the raw type
> java.lang.Class
>     [javac]         randomDataGeneratorCtor = clazz.getConstructor(new
> Class[]{Long.TYPE});
>     [javac]                                                       ^
>     [javac] Note: Some input files use or override a deprecated API.

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


Mime
View raw message