Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Locale.getDefault bug in JDK 1.7 Date: Mon, 22 Aug 2011 10:51:53 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 22 Aug 2011 17:52:03 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="10817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18h+u7musIjW1Bx7nAQYzS6ZwlRbSF9bNk=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: Cancel-Lock: sha1:SCJ9CLw5q+rSQXgRyq1qzFjSTUo= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7298 On 8/21/2011 11:56 PM, Roedy Green wrote: > I noticed that Locale.getDefault is returning the wrong locale in JDK > 1.7. It used to work fine. It is not returning USA even though my OS > is configured as Canada. I'm confused. It is *NOT* returning USA? Even though your OS is set to CA? What do you expect it to return?