hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
Date Fri, 16 Sep 2016 20:46:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497313#comment-15497313
] 

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
(v6.3.4#6332)

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


Mime
View raw message