The jenkins job for jdk14 is passing - any ideas why you are seeing
different? Is the jenkins job setup incorrectly?

https://builds.apache.org/view/Z/view/ZooKeeper/job/zookeeper-master-maven-jdk14/

Patrick


On Thu, Mar 26, 2020 at 3:13 PM Enrico Olivelli <eolive...@gmail.com> wrote:

> Hi,
> it looks like ZK cannot be build on JDK14 due to a small source
> compatibility issue.
> The error is below.
>
> The fix is trivial, we just only have to explicitly import the full
> classname of "Record"
>
> Enrico
>
> both interface org.apache.jute.Record in org.apache.jute and class
> java.lang.Record in java.lang match
> [ERROR]
> /home/eolivelli/dev/zookeeper/zookeeper-jute/target/generated-sources/java/org/apache/zookeeper/proto/GetMaxChildrenResponse.java:25:
> error: reference to Record is ambiguous
> [ERROR] public class GetMaxChildrenResponse implements Record {
>

Reply via email to