From tomcat-dev-return-43383-apmail-jakarta-tomcat-dev-archive=jakarta.apache.org@jakarta.apache.org Fri Apr 02 11:20:40 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 8111 invoked from network); 2 Apr 2004 11:20:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 11:20:39 -0000 Received: (qmail 84891 invoked by uid 500); 2 Apr 2004 11:20:07 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 84687 invoked by uid 500); 2 Apr 2004 11:20:05 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 84671 invoked from network); 2 Apr 2004 11:20:05 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 2 Apr 2004 11:20:05 -0000 Received: (qmail 8054 invoked from network); 2 Apr 2004 11:20:31 -0000 Received: from localhost.hyperreal.org (HELO apache.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 2 Apr 2004 11:20:31 -0000 Message-ID: <406D4C6A.6050107@apache.org> Date: Fri, 02 Apr 2004 13:20:10 +0200 From: Remy Maucherat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core ApplicationContext.java Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N 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 Mark Thomas wrote: > Remy, > > Looking at bug 13040 I did a bugzilla search and came across bug 11411. I am > still thinking about bug 13040 but saw that bug 11411 could be fixed (I had > previously closed it without looking at the source closely enough) without > getting into the equals()/startsWith() debate that is part of bug 13040. > > In the circumstances where crossContext is false and getContext("/") is called > from within the root web application getContext() was returning null rather than > the root context. > > I am guessing I have done something stupid but I can’t for the life of me see > what it is ;) I suppose your patch merely allows for a shortcut, so it could be acceptable. Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org