Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 57557 invoked from network); 10 Sep 2007 10:21:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 10:21:14 -0000 Received: (qmail 24093 invoked by uid 500); 10 Sep 2007 10:21:08 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24065 invoked by uid 500); 10 Sep 2007 10:21:08 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 24051 invoked by uid 99); 10 Sep 2007 10:21:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 03:21:07 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 10:21:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 655F71A9832; Mon, 10 Sep 2007 03:20:53 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r574198 - /harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java Date: Mon, 10 Sep 2007 10:20:52 -0000 To: commits@harmony.apache.org From: leoli@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070910102053.655F71A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: leoli Date: Mon Sep 10 03:20:41 2007 New Revision: 574198 URL: http://svn.apache.org/viewvc?rev=574198&view=rev Log: Fix bug in ([classlib][jndi]javax.naming.InitialContext.getURLOrDefaultInitCtx()). Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java?rev=574198&r1=574197&r2=574198&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java (original) +++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java Mon Sep 10 03:20:41 2007 @@ -362,8 +362,9 @@ if (null == ctx) { ctx = getDefaultInitCtx(); } - contextCache.put(scheme, ctx); + contextCache.put(scheme, ctx); } + return ctx; } return getDefaultInitCtx(); }