Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 70184 invoked from network); 17 Oct 2003 08:10:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Oct 2003 08:10:06 -0000 Received: (qmail 83191 invoked by uid 500); 17 Oct 2003 08:09:34 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 83133 invoked by uid 500); 17 Oct 2003 08:09:34 -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 83030 invoked by uid 500); 17 Oct 2003 08:09:33 -0000 Received: (qmail 82892 invoked from network); 17 Oct 2003 08:09:32 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 17 Oct 2003 08:09:32 -0000 Received: (qmail 69734 invoked by uid 1539); 17 Oct 2003 08:09:46 -0000 Date: 17 Oct 2003 08:09:46 -0000 Message-ID: <20031017080946.69733.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java 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 peterreilly 2003/10/17 01:09:46 Modified: src/main/org/apache/tools/ant ComponentHelper.java Log: synchonize ComponentHelper#checkNamespace() This fixes a bug with use of and xmlns:prefix="antlib:package echo hello echo hello - need a unit test for this Revision Changes Path 1.29 +1 -1 ant/src/main/org/apache/tools/ant/ComponentHelper.java Index: ComponentHelper.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ComponentHelper.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- ComponentHelper.java 10 Sep 2003 10:37:13 -0000 1.28 +++ ComponentHelper.java 17 Oct 2003 08:09:46 -0000 1.29 @@ -806,7 +806,7 @@ * called for each component name, check if the * associated URI has been examined for antlibs. */ - private void checkNamespace(String componentName) { + private synchronized void checkNamespace(String componentName) { if (componentName.indexOf(':') == -1) { return; // not a namespaced name } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org