Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 97840 invoked from network); 18 Oct 2006 07:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2006 07:35:23 -0000 Received: (qmail 17465 invoked by uid 500); 18 Oct 2006 07:35:19 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 17427 invoked by uid 500); 18 Oct 2006 07:35:19 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 17416 invoked by uid 99); 18 Oct 2006 07:35:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 00:35:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of richard.liangyx@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 00:35:15 -0700 Received: by nf-out-0910.google.com with SMTP id m18so43297nfc for ; Wed, 18 Oct 2006 00:34:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f14Nq/d5QHmdCZw4sYnOk+3vPFOjqjqGr6VD5ZEcZHyqQaIJ9Ls6y6boGzTKnEc2KKs1PsG1m2tHVgeBQgwKJ6WSR9GxV7tqYUx+EZk87jy7CYP076fNaT16aNHoMqeWCdMti41e/H4/uZ1zBh6wiGQNwFCTp7gr3ZTyYgVKZjI= Received: by 10.78.148.8 with SMTP id v8mr10389850hud; Wed, 18 Oct 2006 00:34:54 -0700 (PDT) Received: by 10.78.184.19 with HTTP; Wed, 18 Oct 2006 00:34:54 -0700 (PDT) Message-ID: Date: Wed, 18 Oct 2006 15:34:54 +0800 From: "Richard Liang" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][swing] test failure: javax.swing.filechooser.FileSystemViewTest.testGetSystemTypeDescription In-Reply-To: <8E389A5F2FEABA4CB1DEC35A25CB39CE5E3ED4@mssmsx411> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8E389A5F2FEABA4CB1DEC35A25CB39CE5E3ED4@mssmsx411> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/17/06, Ivanov, Alexey A wrote: > Richard, > > I've filed JIRA issue [1] for this problem. > > To my mind, we should just remove these locale dependent assertions. On the other hand there will be only a few tests left after then. > > Any other suggestions? > If the behavior is depended on the (default) locale setting of java, we could do like this: Locale defaultLocale = Locale.getDefault(); Locale.setDefault(Locale.US); test...... Locale.setDefault(defaultLocale); But it seems that the behavior is depended on the locale setting of OS, this solution does not work. ;-) I agree we remove the locale dependent assertions temporarily. Best regards, Richard > > Regards, > Alexey. > > P.S. See also related issue [2]: "j.s.filechooser.FileSystemViewTest prompts to insert disk into drive A:". > > > [1] https://issues.apache.org/jira/browse/HARMONY-1893 > [2] https://issues.apache.org/jira/browse/HARMONY-1892 > > > -- > Alexey A. Ivanov > Intel Middleware Product Division > > > >-----Original Message----- > >From: Richard Liang [mailto:richard.liangyx@gmail.com] > >Sent: Wednesday, October 11, 2006 12:06 PM > >To: harmony-dev@incubator.apache.org > >Subject: [classlib][swing] test failure: > >javax.swing.filechooser.FileSystemViewTest.testGetSystemTypeDescription > > > >Hello, > > > >The test fails "on Windows XP when the locale-setting is zh_CN. It's > >because that "view.getSystemTypeDescription(file)" returns Chinese > >words "文件" instead of "File". > > > >Could any one help to verify this issue? Thanks a lot. > > > >-- > >Richard Liang > >China Development Lab, IBM > > > >--------------------------------------------------------------------- > >Terms of use : http://incubator.apache.org/harmony/mailing.html > >To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > >For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Richard Liang China Development Lab, IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org