From dev-return-38963-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Feb 25 03:22:35 2010 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 14961 invoked from network); 25 Feb 2010 03:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 03:22:35 -0000 Received: (qmail 34514 invoked by uid 500); 25 Feb 2010 03:22:34 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 34374 invoked by uid 500); 25 Feb 2010 03:22:34 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 34365 invoked by uid 99); 25 Feb 2010 03:22:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 03:22:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sean.xx.qiu@gmail.com designates 74.125.83.49 as permitted sender) Received: from [74.125.83.49] (HELO mail-gw0-f49.google.com) (74.125.83.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 03:22:26 +0000 Received: by gwj21 with SMTP id 21so1974666gwj.36 for ; Wed, 24 Feb 2010 19:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=8IWjvhGje1RghzwY1teHfN9ycvFOlnZHRDNcqCys3ok=; b=yDTS9Iow6/1I30WTg3qsLDCMAalSA8fpcicEVPYtxliSD0GFaNWKG67GktL8I+Iv4g nm7Eaf8dPusLVKAlI/RkT+QnIK4kBeOPwx1QwAwMjvnYT6d3KXv1bxQiz4S7Yitniplr BLNMs9auEZ6+oM9W+HUpjkM4LADouFSyhaufM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=NYrmNTuGby58Vsy0fb3k9ppBamV9CDP2OIi/bRPTfQsEGOH6O/5CJEtBt2AWI+7WZw CqZutX5V4V4Q76OKaciQ2g32J/qyRhy9NwpeBhYPnY+avtGQ5sJ3gOJWqKGooX2LQLqH VrCbW6YEqQxYo9fTPJ+9eUNeiITAjKkWvVt5o= MIME-Version: 1.0 Received: by 10.100.246.33 with SMTP id t33mr710232anh.240.1267068125103; Wed, 24 Feb 2010 19:22:05 -0800 (PST) In-Reply-To: <201002221241.o1MCfvjn006456@d12av03.megacenter.de.ibm.com> References: <201002221241.o1MCfvjn006456@d12av03.megacenter.de.ibm.com> From: Sean Qiu Date: Thu, 25 Feb 2010 11:21:45 +0800 Message-ID: <94d710af1002241921l299a9f39n50a09c96951b229d@mail.gmail.com> Subject: Re: [classlib] URLConnectionTest To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=0016e6d3e22a80c6de0480644933 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d3e22a80c6de0480644933 Content-Type: text/plain; charset=ISO-8859-1 Stand by you. Best Regards Sean, Xiao Xia Qiu 2010/2/22 Mark Hindess > > I was looking at the URLConnectionTest recently for a JIRA and I was > wondering about this code: > > public void test_getOutputStream() throws Exception { > int port = Support_Jetty.startDefaultServlet(); > try { > ... > } finally { > Support_Jetty.startDefaultServlet(); > } > } > > I'd have expected the finally clause to stop the servlet? I'd probably > have changed this but, although Support_Jetty.startDefaultServlet() is > public, the equivalent stop method is private? This seems a little odd. > > Regards, > Mark. > > > > --0016e6d3e22a80c6de0480644933--