[jboss-jira] [JBoss JIRA] (WFLY-5701) Compile error in clustering/common module with older version of jdk 8
Tomaz Cerar (JIRA)
issues at jboss.org
Tue Mar 1 05:47:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar closed WFLY-5701.
-----------------------------
Fix Version/s: 10.0.0.Final
Resolution: Won't Fix
It is bug in javac that was fixed in later versions
> Compile error in clustering/common module with older version of jdk 8
> ---------------------------------------------------------------------
>
> Key: WFLY-5701
> URL: https://issues.jboss.org/browse/WFLY-5701
> Project: WildFly
> Issue Type: Feature Request
> Components: Build System, Clustering
> Reporter: Paul Gier
> Assignee: Paul Gier
> Priority: Minor
> Fix For: 10.0.0.Final
>
>
> When compiling with jdk version "1.8.0_31" I get a compile error in the clustering/common module.
> {noformat}
> [ERROR] /home/pgier/projects/jboss-eap/clustering/common/src/main/java/org/jboss/as/clustering/controller/ExecutionHandler.java:[54,48] no suitable method found for collect(java.util.stream.Collector<E,capture#1 of ?,java.util.Map<java.lang.String,java.lang.Object>>)
> method java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,? super capture#2 of ? extends E>,java.util.function.BiConsumer<R,R>) is not applicable
> (cannot infer type-variable(s) R
> (actual and formal argument lists differ in length))
> method java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<? super capture#2 of ? extends E,A,R>) is not applicable
> (cannot infer type-variable(s) capture#3 of ?,T,K,U,T
> (argument mismatch; java.util.function.Function<capture#2 of ? extends E,capture#2 of ? extends E> cannot be converted to java.util.function.Function<? super capture#2 of ? extends E,? extends capture#2 of ? extends E>))
> [INFO] 1 error
> {noformat}
> If I use a newer jdk 8 version such as "1.8.0_65", the issue does not occur.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list