[
https://issues.apache.org/jira/browse/HDFS-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404276#comment-13404276
]
Lars Hofhansl commented on HDFS-3580:
-------------------------------------
You beat me to it Andy. :)
+1 on patch, identical patch compiled fine on my home machine with OpenJDK
(don't access to it right now).
I am not sure whether the version with the primitive types is valid or not, but
the version with reference types is definitely valid and should work with all
JDKs.
> incompatible types; no instance(s) of type variable(s) V exist so that V
> conforms to boolean compiling HttpFSServer.java with OpenJDK
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3580
> URL: https://issues.apache.org/jira/browse/HDFS-3580
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.1-alpha
> Reporter: Andy Isaacson
> Assignee: Andy Isaacson
> Priority: Minor
> Attachments: hdfs-3580.txt
>
>
> {quote}
> [ERROR]
> /home/lars/dev/hadoop-2/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java:[407,36]
> incompatible types; no instance(s) of type variable(s) V exist so that V
> conforms to boolean
> {quote}
> {quote}
> $ javac -version
> javac 1.6.0_24
> $ java -version
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.3) (fedora-67.1.11.3.fc16-x86_64)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira