OpenJDK 1.7 and locales
Greg Lewis
glewis at eyesbeyond.com
Tue Nov 16 22:20:17 PST 2010
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 : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the bsd-port-dev
mailing list