Konstantin Shvachko commented on HDFS-10866:

Thanks for checking on  IntelliJ, Akira. {{(Token)}} is a raw type - that was 
the problem with the original variant. LMK if {{(Token<?>)any()}} works for 
you. It does for me.

> Fix Eclipse Java 8 compile errors related to generic parameters.
> ----------------------------------------------------------------
>                 Key: HDFS-10866
>                 URL: https://issues.apache.org/jira/browse/HDFS-10866
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>         Attachments: HDFS-10866.01.patch, IntelliJ.png
> Compilation with Java 8 in Eclipse returns errors, which are related to the 
> use of generics. This does not effect command line maven builds and is 
> confirmed to be a [bug in 
> Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is 
> scheduled only for the next release, so all of us using Eclipse now will have 
> that error.
> Unless we fix it in Hadoop code, which makes sense to me as it appears as a 
> warning in any case.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to