On Mon, Nov 15, 2010 at 09:26:21AM +0100, Henri Gomez wrote:
> Hi to all,
> 
> I build a fresh OpenJDK 1.7 yesterday on OS/X and noticed a problem
> with resources.
> 
> Locales reported are only ar and br :
> 
> 
> sun/text/resources/
> ar
> be

I ran you test programme on FreeBSD 8 with the latest build and got a much
larger list of locales.  So it doesn't seem intrinsic to OpenJDK per se.
Possibly to do with how it determines the available locales on either
MacOS X as a whole or your machine in particular.

> import java.util.Locale;
> 
> 
> public class TestLocales {
> 
>       public static void main(String args[]) {
> 
>               Locale[] lLocs = Locale.getAvailableLocales();
> 
>               for (Locale lLoc: lLocs) {
>                       System.out.println(lLoc);
>               }
>       }
> }
> 
> 
> Problem in OpenJDK or in build ?

-- 
Greg Lewis                          Email   : gle...@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : gle...@freebsd.org

Reply via email to