Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 19682 invoked from network); 13 Mar 2009 00:06:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2009 00:06:57 -0000 Received: (qmail 90470 invoked by uid 500); 13 Mar 2009 00:06:51 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 90440 invoked by uid 500); 13 Mar 2009 00:06:51 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 90429 invoked by uid 99); 13 Mar 2009 00:06:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 17:06:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.44.28] (HELO yx-out-2324.google.com) (74.125.44.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 00:06:43 +0000 Received: by yx-out-2324.google.com with SMTP id 31so841569yxl.17 for ; Thu, 12 Mar 2009 17:06:21 -0700 (PDT) Received: by 10.100.202.8 with SMTP id z8mr338022anf.4.1236902780991; Thu, 12 Mar 2009 17:06:20 -0700 (PDT) Received: from wesw-laptop.localnet (cpe-98-31-31-91.woh.res.rr.com [98.31.31.91]) by mx.google.com with ESMTPS id d22sm2237265and.27.2009.03.12.17.06.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Mar 2009 17:06:20 -0700 (PDT) From: Wes Wannemacher Reply-To: wesw@wantii.com Organization: WanTii, Inc. To: "Struts Developers List" Subject: Re: XWork test failures Date: Thu, 12 Mar 2009 20:06:15 -0400 User-Agent: KMail/1.11.1 (Linux/2.6.27-13-generic; KDE/4.2.1; x86_64; ; ) References: <9f960bad0903121526v11ad8b3m7f30a8b3571a20e2@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903122006.15990.wesw@wantii.com> X-Virus-Checked: Checked by ClamAV on apache.org On Thursday 12 March 2009 19:35:37 Musachy Barroso wrote: > Yeah, I have to find a better way to test those dumb URLs with weird > protocols. Is there a problem running with "pertest"? > > musachy > I don't see a problem with it, so long as we know why we're doing it. The key seems to be in the javadocs for URL, it states - "This method can be called at most once in a given Java Virtual Machine. " Which pretty much means that since the inner class in URLTest that acts as a factory returns null, like Lukasz said, anything afterwards is not going to get a stream handler. It'd probably be sufficient to file a JIRA against it, just so that we don't forget in the future that we should fix it up. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org