Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BA1F9200D38 for ; Sun, 29 Oct 2017 04:58:58 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B8D32160BF6; Sun, 29 Oct 2017 03:58:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0AF18160BE1 for ; Sun, 29 Oct 2017 04:58:57 +0100 (CET) Received: (qmail 66153 invoked by uid 500); 29 Oct 2017 03:58:52 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 66141 invoked by uid 99); 29 Oct 2017 03:58:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Oct 2017 03:58:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DA9411A0BCB for ; Sun, 29 Oct 2017 03:58:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.985 X-Spam-Level: * X-Spam-Status: No, score=1.985 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_MUA_MOZILLA=1.596, RCVD_IN_DNSWL_NONE=-0.0001, REPTO_QUOTE_YAHOO=0.49, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com.br Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id X93r219wXN5s for ; Sun, 29 Oct 2017 03:58:48 +0000 (UTC) Received: from sonic310-42.consmr.mail.bf2.yahoo.com (sonic310-42.consmr.mail.bf2.yahoo.com [74.6.135.216]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1E3ED5F3DF for ; Sun, 29 Oct 2017 03:58:48 +0000 (UTC) X-YMail-OSG: 6eUEOZcVM1n9iT.rZlNHSm8Qe9G10HB8l_DDjfSaOo11mAl8VhC0b08pLzOa_gq cuxmWXopG_dkVOmbIYmKw8zUAb7np0soUNnS4badl.u6GoCl_naymtcoB3t84trMJeLcFdBU.J0n j6Mt4YeRcZZXWANcKKCnhrC.zVZ.YAfkbgkypwSUgBFUeyvDTWk9UrPioxWxDDZoOZKSf_d_dt8I s6IWXNeL_iAIbDO37OwOcyfr0u..sbvPncmG0g3H5WjuThehw_JvNuPjtUMGxndOwjZnoxTEeoC8 RJNYyoRfegP6NRUT3uJcup0km7Ya8w48AP2h7xNTFlC5Uwf.jF1GyHOWsrmNFIJ3_EoQo1NeZPb0 XpiJEOboFykysD87NPAQi9UzT8XhwCGVpqit51xI96.fxNouM_mw8XZb96VGaXPUKhgpubIWMZ_Z mS.0pXNh9AFGjjdvIg88iE5M9PBq4BLY5imeSkSyL2IqRm0kjm2645bVivIjoKykkE.vdvpt199m yCkveytYGorPRm_uOJi2PrSibNwMizG88thQ5L0SYXidHww-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Sun, 29 Oct 2017 03:58:41 +0000 Date: Sun, 29 Oct 2017 03:54:40 +0000 (UTC) From: "Bruno P. Kinoshita" Reply-To: "Bruno P. Kinoshita" To: Commons Developers List Message-ID: <1372189625.6903078.1509249280575@mail.yahoo.com> In-Reply-To: References: Subject: Re: [dbcp] update to pool 2.4.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.10801 YahooMailNeo Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36 archived-at: Sun, 29 Oct 2017 03:58:58 -0000 Hi Gary, Started the tests in Maven command line, found which tests failed. Executed the tests in Eclipse, found which class was related to the failure. Then did a diff between both tags. git diff POOL_2_4_2 POOL_2.4.3-RC1 -- ./src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java The short diff indicates that the failures started possibly due to the replacement of Exceptions in the DefaultPooledObject by a CallStack. Looks like the CallStack does not keep track of all the methods called (due to a security context manager from what I could tell?). Only classes. The following pull request updates pool to 2.4.3, and changes the unit tests to, instead of looking for method names in the log writer output, to look for the test class name. https://github.com/apache/commons-dbcp/pull/8 Feel free to review and merge if you agree it's a good solution. Hope that helps, Bruno ps: I think we need to publish the commons-pool website. Tried to have a look at the changes report for 2.4.3 but it wasn't there yet. ps2: I'm currently looking at those trivial checkstyle issues that we found during the vote thread. Going to send another pull request for that today ________________________________ From: Gary Gregory To: Commons Developers List Sent: Sunday, 29 October 2017 8:44 AM Subject: [dbcp] update to pool 2.4.3. Hi All, After updating dbcp to 2.4.3 I am seeing two unit test failures. I have to step out for the day and I am hoping someone can help figure out what is going on. Gary --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org