Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 61530 invoked from network); 16 Nov 2007 11:14:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2007 11:14:35 -0000 Received: (qmail 21619 invoked by uid 500); 16 Nov 2007 11:14:18 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 21555 invoked by uid 500); 16 Nov 2007 11:14:18 -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 21527 invoked by uid 99); 16 Nov 2007 11:14:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 03:14:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wuyuehao@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 11:14:08 +0000 Received: by fk-out-0910.google.com with SMTP id 18so828231fks for ; Fri, 16 Nov 2007 03:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wexDZqPIksMmmr9PvCqpdHk9oLcrE3zO21peocqF3OQ=; b=jLt1c42rQ9uozSJRllSzzeLXSGs/6A26dmHWNg+0IoxXCw861XC8049v+OoQPL+o1SCuHC7p96wZofADztUec/+jeCl85YgY0uDtH+T7Q5qSwJg6si0qRhTOBzExM2eiuOpurtawr8OiiNJc2493I/Ip/yR0tBT5IQjKHOAFbbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t3jbQmxgAzejUBFCtW8ccSIr60K41aPNopxVc8nXpytO0OXwOv70QxbaByUmAGl74yEmxjw2oHkf9DzQuOmc9kro82Q1d7xpYJcmxn0ptWdEnXsR6Fz4d1z0Jr5afytBNOPzEPxpJKmKDiTb0UFDtyD9w3nJtZIsSQDDlhWLuU8= Received: by 10.82.126.5 with SMTP id y5mr4891946buc.1195211638999; Fri, 16 Nov 2007 03:13:58 -0800 (PST) Received: by 10.82.141.19 with HTTP; Fri, 16 Nov 2007 03:13:58 -0800 (PST) Message-ID: <211709bc0711160313s184ad814m3387d28808b3e674@mail.gmail.com> Date: Fri, 16 Nov 2007 19:13:58 +0800 From: "Tony Wu" To: dev@harmony.apache.org Subject: Re: [classlib][luni][EUT] regression caused by r592434 In-Reply-To: <587698b80711150339i13d28b58i34f920d33ad4c8eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <587698b80711140414v4150a97erb3ec745905b91084@mail.gmail.com> <211709bc0711140752x6dddfe4ax443b94e87583f9a3@mail.gmail.com> <211709bc0711142321u25d9bfaao84b2ef6e11604c1c@mail.gmail.com> <587698b80711150339i13d28b58i34f920d33ad4c8eb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks fro your help. Finally I have successfully reproduced it on my ubuntu and provided another fix on JIRA. It has been committed at r595625. This patch utilizes the Date.parse(String) by adding a bit of code to handle the minute part of the time offset. On 11/15/07, Vladimir Beliaev wrote: > Hello, Tony, > > I've tested it - unfortunately the issue is kept actual. The same set of > tests ended with errors, now with stack ended in Date class: > > > org.eclipse.update.tests.regularInstall.TestSpaceInInstall.testSpaceInHTTPURL > null > java.lang.IllegalArgumentException > at java.util.Date.parse(Date.java:459) > at java.net.URLConnection.getHeaderFieldDate(URLConnection.java:521) > at java.net.HttpURLConnection.getHeaderFieldDate(HttpURLConnection.java > :467) > > > I'm sorry for not preparing a stand a long test case - it always time > consuming process and from my expirience a regression fixer gets the idea of > the patch w/o such a test and it takes less time then to prepare this test. > > Thanks > Vladimir Beliaev > > 2007/11/15, Tony Wu : > > > > Hi Vladimir, > > I guess that this IAE is thrown because the Util.parseDate can not > > handle the pattern which contains "+". I have provided a patch on the > > JIRA, would you please try it. > > > > I'm still downloading the eclipse test suite to verify it but I'm > > afraid it will take several hours since the network here is overload. > > > > On 11/14/07, Tony Wu wrote: > > > sure, I will find the problem asap. Thanks for the report. > > > > > > On 11/14/07, Vladimir Beliaev wrote: > > > > Hello, Tony, > > > > > > > > could you care about recently filed > > > > https://issues.apache.org/jira/browse/HARMONY-5112? (either fix > > regression > > > > or revert your patch)? > > > > > > > > This is a regression introduced by r592434 commit fixing HARMONY-5061 > > (it > > > > has taken time double check the regression and detect the guilty > > commit, so > > > > I reported the regression just yesterday). > > > > > > > > Please see the EUT report at: > > > > > > http://people.apache.org/~smishura/r593024/Windows_x86/eut33/results/html/org.eclipse.update.tests.core_win32.win32.x86.html > > > > > > > > - all tests are failed with the same exception: > > > > java.lang.IllegalArgumentException > > > > at org.apache.harmony.luni.util.Util.parseDate(Util.java:136) > > > > at java.net.URLConnection.getHeaderFieldDate(URLConnection.java > > :519) > > > > at java.net.HttpURLConnection.getHeaderFieldDate( > > HttpURLConnection.java > > > > :467) > > > > > > > > Thanks > > > > Vladimir > > > > > > > > > > > > -----Original Message----- > > > > From: tonywu@apache.org [mailto:tonywu@apache.org] > > > > Sent: Tuesday, November 06, 2007 5:21 PM > > > > To: commits@harmony.apache.org > > > > Subject: svn commit: r592434 [1/2] - in > > > > /harmony/enhanced/classlib/trunk/modules: luni/make/ > > > > luni/src/main/java/java/util/ > > > > luni/src/main/java/org/apache/harmony/luni/internal/locale/ > > > > luni/src/test/api/common/tests/api/java/util/ text/make/ > > > > text/src/main/java/ja... > > > > > > > > > > > > > > > > Author: tonywu > > > > > > > > Date: Tue Nov 6 06:21:10 2007 > > > > > > > > New Revision: 592434 > > > > > > > > > > > > > > > > URL: http://svn.apache.org/viewvc?rev=592434&view=rev > > > > > > > > Log: > > > > Apply patch Harmony-5061 which removes the duplicate locale data > > > > > > > > > > > > > > > > > > > > > -- > > > Tony Wu > > > China Software Development Lab, IBM > > > -- Tony Wu China Software Development Lab, IBM