Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 52301 invoked from network); 15 Jan 2004 14:41:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 14:41:03 -0000 Received: (qmail 96212 invoked by uid 500); 15 Jan 2004 14:40:57 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 96180 invoked by uid 500); 15 Jan 2004 14:40:57 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 96166 invoked from network); 15 Jan 2004 14:40:57 -0000 Received: from unknown (HELO london.cellectivity.com) (212.18.242.163) by daedalus.apache.org with SMTP; 15 Jan 2004 14:40:57 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Content-Class: urn:content-classes:message Subject: Core classloader (1.7) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C3DB75.96573FC6" Date: Thu, 15 Jan 2004 14:40:57 -0000 Message-ID: <747F247264ECE34CA60E323FEF0CCC0C5D0964@london.cellectivity.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Core classloader (1.7) thread-index: AcPbdZZECgwp5JoNSFiCz77qop27gg== From: "Jose Alberto Fernandez" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3DB75.96573FC6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I was looking at how to better reuse the classloaders (as part of the fixes for JAXPUtils). In the process I noticed that Project.createClassLoader(Path) does not set Project.getCoreLoader() as the parent of the classloader being created.=20 Actually, except for ExecuteJava.java and WhichResource.java no task that uses its own classpath for finding code will=20 set the core loader as the parent for the classloaders. Most stuff works because AntClassLoader.class.getClassLoader() is usually the same as the initial Project.getCoreLoader(). But you may have extrange behavior in some complex IDE situations. Any comments, reasons why the code is the way it is? Jose Alberto ------_=_NextPart_001_01C3DB75.96573FC6 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org ------_=_NextPart_001_01C3DB75.96573FC6--