Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 26095 invoked from network); 14 Nov 2005 12:15:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 12:15:57 -0000 Received: (qmail 29321 invoked by uid 500); 14 Nov 2005 12:15:56 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29293 invoked by uid 500); 14 Nov 2005 12:15:56 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 29283 invoked by uid 99); 14 Nov 2005 12:15:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 04:15:56 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.143] (HELO e3.ny.us.ibm.com) (32.97.182.143) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 04:15:47 -0800 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id jAECFXtN010188 for ; Mon, 14 Nov 2005 07:15:33 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jAECFX4S101470 for ; Mon, 14 Nov 2005 07:15:33 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id jAECFXfC027174 for ; Mon, 14 Nov 2005 07:15:33 -0500 Received: from [127.0.0.1] (sig-9-48-124-253.mts.ibm.com [9.48.124.253]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id jAECFVfO027099 for ; Mon, 14 Nov 2005 07:15:33 -0500 Message-ID: <43787FE3.8060203@sbcglobal.net> Date: Mon, 14 Nov 2005 04:15:31 -0800 From: Kathey Marsden User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: q re dataSourcePermissions_net and DERBY-410 References: In-Reply-To: X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Myrna van Lunteren wrote: >Hi, > I'm working on DERBY-413, trying to remove the hardcoded 'localhost' from >the tests, and found this comment and subsequent line in the test >derbynet/dataSourcePermissions_net.java: >------------------ > if (TestUtil.isJCCFramework()) >{ >attrs.setProperty("driverType","4"); >/** >* As per the fix of derby-410 >* servername should now default to localhost >*/ >attrs.setProperty("serverName","localhost"); >} >------------------- > Now, if the serverName defaults to localhost, why are we passing it in? > ? > > For JCC it has to be set, so it is set if (TestUtil.isJCCFramework()). The comment might be clearer if it it said servername should now default to localhost for derbyclient but still needs to be set for JCC.