Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 87640 invoked from network); 11 Feb 2005 07:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Feb 2005 07:18:29 -0000 Received: (qmail 72174 invoked by uid 500); 11 Feb 2005 07:18:25 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 72092 invoked by uid 500); 11 Feb 2005 07:18:25 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 72078 invoked by uid 99); 11 Feb 2005 07:18:25 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from avmta4-rme.xtra.co.nz (HELO avmta4-rme.xtra.co.nz) (210.86.15.159) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Feb 2005 23:18:24 -0800 Received: from pop1-rme.xtra.co.nz ([210.86.15.240]) by avmta4-rme.xtra.co.nz with ESMTP id <20050211071820.FZHO2892.avmta4-rme.xtra.co.nz@pop1-rme.xtra.co.nz> for ; Fri, 11 Feb 2005 20:18:20 +1300 Received: from [10.1.1.9] ([222.152.206.154]) by pop1-rme.xtra.co.nz with ESMTP id <20050211071820.JJJY7985.pop1-rme.xtra.co.nz@[10.1.1.9]> for ; Fri, 11 Feb 2005 20:18:20 +1300 Subject: [digester2] should useContextClassLoader be true by default? From: Simon Kitching Reply-To: skitching@apache.org To: commons-dev@jakarta.apache.org Content-Type: text/plain Date: Fri, 11 Feb 2005 20:28:06 +1300 Message-Id: <1108106887.4266.83.camel@blackbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi y'all, The discussion associated with commons-configuration bugzilla entry http://issues.apache.org/bugzilla/show_bug.cgi?id=33475 has made me wonder why useContextClassLoader is false by default. Can anyone see a reason why it should not be *true* by default in digester2? (I think it's too big a jump to change the default behaviour of digester 1.x...). In other words, in what circumstances would a thread have a context-class-loader set, but not want to use it to load user objects? If they are rare, then true would seem a better default. I would appreciate comments from people who are familiar with frameworks that manipulate classloaders, esp. Tomcat (and that definitely includes you, Craig!). Thanks, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org