Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5EDB910A38 for ; Tue, 8 Apr 2014 12:33:17 +0000 (UTC) Received: (qmail 85868 invoked by uid 500); 8 Apr 2014 12:33:13 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 85146 invoked by uid 500); 8 Apr 2014 12:33:12 -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 85134 invoked by uid 99); 8 Apr 2014 12:33:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 12:33:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [178.33.111.247] (HELO mo5.mail-out.ovh.net) (178.33.111.247) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 12:33:04 +0000 Received: from mail179.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo5.mail-out.ovh.net (Postfix) with SMTP id 9E9A0FFB19A for ; Tue, 8 Apr 2014 14:32:32 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 8 Apr 2014 14:32:21 +0200 Received: from mar75-7-82-247-19-29.fbx.proxad.net (HELO ?192.168.0.10?) (ebourg@ariane-software.com@82.247.19.29) by ns0.ovh.net with SMTP; 8 Apr 2014 14:32:09 +0200 Message-ID: <5343EC48.2010504@apache.org> Date: Tue, 08 Apr 2014 14:32:08 +0200 From: Emmanuel Bourg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Java 8 compatibility for Tomcat 7 References: <5343B661.9030007@apache.org> <5343E574.8030004@apache.org> In-Reply-To: <5343E574.8030004@apache.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17026139867420712110 X-Ovh-Remote: 82.247.19.29 (mar75-7-82-247-19-29.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejuddrieefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejuddrieefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Virus-Checked: Checked by ClamAV on apache.org Le 08/04/2014 14:03, Mark Thomas a �crit : > Can you provide the details of the failure. That might help ID a solution. Thank you, here is the build log on Debian: http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/tomcat7_7.0.52-1_unstable_jdk8.log [javac] /�PKGBUILDDIR�/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java:1107: error: keySet() in AbstractReplicatedMap cannot override keySet() in ConcurrentHashMap [javac] public Set keySet() { [javac] ^ [javac] return type Set is not compatible with KeySetView [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap This issue is caused by the addition of a keySet() method to ConcurrentHashMap in Java 8 with a return type incompatible with the keySet() method in AbstractReplicatedMap. In r1222329 AbstractReplicatedMap was changed to no longer inherit ConcurrentHashMap and implement directly the Map interface. This had the side effect of fixing this Java 8 issue for Tomcat 8. Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org