Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65293 invoked from network); 5 Nov 2003 20:24:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Nov 2003 20:24:53 -0000 Received: (qmail 10272 invoked by uid 500); 5 Nov 2003 20:23:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10232 invoked by uid 500); 5 Nov 2003 20:23:34 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10190 invoked from network); 5 Nov 2003 20:23:33 -0000 Received: from unknown (HELO hotmail.com) (207.68.163.139) by daedalus.apache.org with SMTP; 5 Nov 2003 20:23:33 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 5 Nov 2003 12:23:38 -0800 Received: from 65.193.195.81 by sea1fd.sea1.hotmail.msn.com with HTTP; Wed, 05 Nov 2003 20:23:38 GMT X-Originating-IP: [65.193.195.81] X-Originating-Email: [tusharh2000@hotmail.com] From: "Tushar Rahman" To: user@ant.apache.org Bcc: Subject: Classloading: getContextClassLoader returns URLClassLoader in 1.6beta2 Date: Wed, 05 Nov 2003 20:23:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Nov 2003 20:23:38.0894 (UTC) FILETIME=[B2786AE0:01C3A3DA] 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 Hello , I have written a custom task. inside that task if I call Thread.currentThread().getContextClassLoader() , it returns sun.misc.AppClassLoader in Ant 1.5.4 and returns an instance of URLClassLoader in Ant 1.6beta2. However the custom task gets loaded by an instance of AntClassLoader in both the versions. is this a bug ? I think getContextClassLoader should return the instance of AntClassLoader that loaded my custom task. can someone please comment if this is a bug and if this is going to get fixed. Thanks Tushar _________________________________________________________________ Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/35984.asp Post your CV on naukri.com today. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org