initial checkin
[org.ibex.nanogoat.git] / upstream / gcc-3.3 / patches / force-locale.patch
1 --- libjava/java/util/Locale.java       Wed Nov 27 14:41:07 2002
2 +++ libjava/java/util/Locale.java       Wed Sep 10 00:10:27 2003
3 @@ -193,10 +193,16 @@
4     * null. Note the logic in the main constructor, to detect when
5     * bootstrapping has completed.
6     */
7 -  private static Locale defaultLocale =
8 +
9 +  // XWT-specific hack: we're having a lot of trouble with Locales
10 +  // and static linkage, so we force this to a known locale.
11 +  private static Locale defaultLocale = new Locale("en", "", "");
12 +
13 +      /*
14      new Locale(System.getProperty("user.language", "en"),
15                 System.getProperty("user.region", ""),
16                 System.getProperty("user.variant", ""));
17 +      */
18  
19    /**
20     * Convert new iso639 codes to the old ones.