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 1C731DFE2 for ; Sun, 15 Jul 2012 19:55:26 +0000 (UTC) Received: (qmail 57786 invoked by uid 500); 15 Jul 2012 19:55:25 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 57736 invoked by uid 500); 15 Jul 2012 19:55:25 -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 57726 invoked by uid 99); 15 Jul 2012 19:55:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 19:55:25 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.12.242.68] (HELO smtpout.wanadoo.co.uk) (80.12.242.68) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 19:55:18 +0000 Received: from mail.homeinbox.net ([2.24.222.243]) by mwinf5d57 with ME id ajuv1j0065FhlAS03juwTF; Sun, 15 Jul 2012 21:54:56 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 98A7CEAB70A for ; Sun, 15 Jul 2012 20:54:55 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUJyD7Z5yfj0 for ; Sun, 15 Jul 2012 20:54:49 +0100 (BST) Received: from [192.168.23.9] (study03.dev.local [192.168.23.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 84A95EAB707 for ; Sun, 15 Jul 2012 20:54:49 +0100 (BST) Message-ID: <50032009.9060608@apache.org> Date: Sun, 15 Jul 2012 20:54:49 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: svn commit: r1360729 - in /tomcat/trunk: ./ modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/driver/ res/dbcp/ References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 15/07/2012 20:49, Filip Hanik Mailing Lists wrote: > not sure if they want to make Java 7 minimum requirement That will need a discussion on the commons dev list. If no-one brings it up sooner, I'll bring it up once Pool2 is sorted as work will naturally move to dbcp2 at that point. Mark > > ----- Original Message ----- >> From: "sebb" >> To: "Tomcat Developers List" >> Sent: Saturday, July 14, 2012 8:04:42 PM >> Subject: Re: svn commit: r1360729 - in /tomcat/trunk: ./ >> modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/driver/ res/dbcp/ >> >> Do these patches need to be fed back to Commons DBCP? >> >> Or do they only apply to the version embedded by Tomcat? >> >> On 14 July 2012 21:47, Rainer Jung wrote: >>> On 14.07.2012 22:25, Filip Hanik Mailing Lists wrote: >>>> >>>> I know, it's the same patch for DBCP as for DBCP2. >>> >>> >>> Roger that. >>> >>> >>>> we can fix it, not urgent though >>> >>> >>> No hurry, maybe we'll be on DBCP2 until the first TC 8 release. >>> >>> Rainer >>> >>> >>>> ----- Original Message ----- >>>>> >>>>> From: "Rainer Jung" >>>>> To: dev@tomcat.apache.org >>>>> Sent: Friday, July 13, 2012 3:47:27 AM >>>>> Subject: Re: svn commit: r1360729 - in /tomcat/trunk: ./ >>>>> modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/driver/ >>>>> res/dbcp/ >>>>> >>>>> On 12.07.2012 17:38, fhanik@apache.org wrote: >>>>>> >>>>>> Author: fhanik >>>>>> Date: Thu Jul 12 15:38:28 2012 >>>>>> New Revision: 1360729 >>>>>> >>>>>> URL: http://svn.apache.org/viewvc?rev=1360729&view=rev >>>>>> Log: >>>>>> Configure Tomcat trunk to build with Java 7. >>>>>> This includes adding a patch to the Commons-DBCP code from >>>>>> res/dbcp >>>>>> >>>>>> >>>>>> Added: >>>>>> tomcat/trunk/res/dbcp/ >>>>>> tomcat/trunk/res/dbcp/dbcp-java-7.patch (with props) >>>>> >>>>> >>>>> Just an info: when compiling TC trunk with Java 7 and ant 1.8.2 a >>>>> few >>>>> minutes ago, many of the offsets when applying the patch were >>>>> quite >>>>> big: >>>>> >>>>> [copy] Copying 68 files to >>>>> /shared/build/dev/tomcat/deps/tomcat8-deps/tomcat8-deps/dbcp >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java >>>>> [patch] Hunk #1 succeeded at 660 (offset -114 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/DelegatingResultSet.java >>>>> [patch] Hunk #1 succeeded at 1078 (offset -196 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/PoolingDataSource.java >>>>> [patch] Hunk #1 succeeded at 437 (offset -52 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/DelegatingConnection.java >>>>> [patch] Hunk #1 succeeded at 678 (offset -126 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/PoolingDriver.java >>>>> [patch] Hunk #1 succeeded at 496 (offset -5 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/DelegatingStatement.java >>>>> [patch] Hunk #1 succeeded at 385 (offset -144 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java >>>>> [patch] Hunk #1 succeeded at 1206 (offset -171 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/BasicDataSource.java >>>>> [patch] Hunk #1 succeeded at 28 with fuzz 1. >>>>> [patch] Hunk #2 succeeded at 1580 (offset -221 lines). >>>>> [patch] patching file >>>>> src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java >>>>> [patch] Hunk #1 succeeded at 887 (offset -1 lines). >>>>> >>>>> Compilation for everything including DBCP works though. >>>>> >>>>> Regards, >>>>> >>>>> Rainer >>> >>> >>> --------------------------------------------------------------------- >>> 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 >> >> > > --------------------------------------------------------------------- > 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