Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 10895 invoked from network); 10 Feb 2007 20:00:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2007 20:00:05 -0000 Received: (qmail 32557 invoked by uid 500); 10 Feb 2007 20:00:11 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 32487 invoked by uid 500); 10 Feb 2007 20:00:11 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 32476 invoked by uid 99); 10 Feb 2007 20:00:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Feb 2007 12:00:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jak-commons-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Feb 2007 11:59:59 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HFyNl-0003mG-F5 for commons-dev@jakarta.apache.org; Sat, 10 Feb 2007 20:59:37 +0100 Received: from pd9e08992.dip0.t-ipconnect.de ([217.224.137.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Feb 2007 20:59:37 +0100 Received: from joerg.schaible by pd9e08992.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Feb 2007 20:59:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: commons-dev@jakarta.apache.org To: commons-dev@jakarta.apache.org From: =?ISO-8859-1?Q?J=F6rg?= Schaible Subject: Re: VOTE: Release commons-fileupload 1.2 (3rd attempt) Date: Sat, 10 Feb 2007 20:59:29 +0100 Lines: 41 Message-ID: References: Reply-To: joerg.schaible@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e08992.dip0.t-ipconnect.de Mail-Copies-To: never User-Agent: KNode/0.10.4 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Jochen Wiedmann wrote: > Hi, J�rg, > > On 2/10/07, J�rg Schaible wrote: > >> well, I tried hard to find the cause for this, but failed so far. If you >> look at the stack trace, it simply does not make sense also. Nevertheless >> when I run the test from within Eclipse with the JRockit 1.5 runtime, the >> ProgressListenerTest fails every 2nd execution in exactly the reported >> way. Due to some sysouts I know now, that it happens when the runTest is >> called the 2nd time *after* the first call to the listener. Unfortunately >> if you try to debug it, everything seems to work well. OTOH I am quite >> unfamiliar with the code ... >> >> Maybe you wanna try it youself, JRockit can be freely downloaded at >> http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp > > Could you please replace line 93 in the ProgressListenerTest with the > following: > > /** > * This used to be > * assertEquals((byte) j, (byte) istream.read()); > * but this seems to trigger a bug in JRockit, so > * we express the same like this: > */ > byte b1 = (byte) j; > byte b2 = (byte) istream.read(); > if (b1 != b2) { > fail("Expected " + b1 + ", got " + b2); > } > > That seems to work for me, for whatever reason. Same here. Strange. Well, so this is definitely nothing that should prevent this release +1 - J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org