From dev-return-194299-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Tue Oct 23 22:08:01 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9E04118066B for ; Tue, 23 Oct 2018 22:08:00 +0200 (CEST) Received: (qmail 55528 invoked by uid 500); 23 Oct 2018 20:07:59 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 55518 invoked by uid 99); 23 Oct 2018 20:07:59 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2018 20:07:59 +0000 Received: from MacBook-Pro.local (unknown [213.205.242.9]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 5F6C8E1C for ; Tue, 23 Oct 2018 20:07:58 +0000 (UTC) Subject: Re: [GUMP@vmgump-vm3]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) failed From: Mark Thomas To: Tomcat Developers List Reply-To: Tomcat Developers List References: <20181022091959.0A2221244BA@vmgump-vm3.apache.org> Message-ID: <62f3f9e8-5984-b4c4-c3b4-88d8ce7795e4@apache.org> Date: Tue, 23 Oct 2018 22:07:55 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit I've attempted to fix this in Gump. I don't expect to have got it right first time. We'll have to wait until the next Gump run (00.00 UTC) to see how close I got. Mark On 22/10/2018 22:22, Mark Thomas wrote: > On 22/10/2018 09:19, Bill Barker wrote: >> To whom it may engage... > > > >> test-compile: >>      [javac] Compiling 168 source files to >> /srv/gump/public/workspace/tomcat-7.0.x/output/testclasses >>      [javac] >> /srv/gump/public/workspace/tomcat-7.0.x/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:43: >> error: incompatible types: Object cannot be converted to Valve >>      [javac]         valve.setNext(EasyMock.createMock(Valve.class)); > > > > This is the change the broke this: > https://github.com/easymock/easymock/issues/229 > > If the compiler compliance level is set to Java 7 or below, Java > can't/doesn't correctly infer the types so it assumes Object which > triggers the issues like the one above. > > The fix is probably to configure Gump to use the latest EasyMock 3.x for > 7.0.x and 8.5.x and continue to build EasyMock HEAD for use with 9.0.x. > > I'll try and get to that tomorrow but I may not have time. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org